Skip to content
Snippets Groups Projects

storage: Skip tests that involve loopback device in a container

  • Insider a container, it is not possible to use loopback devices without additional permissions. Skips tests that need loopback devices. This will results in fewer errors when running './container run-tests'.

Tests:

  • Run './container run-tests --pytest-args plinth/modules/stroage/test_storage.py'. Notice that all tests are either skipped or succeed.

  • Run the tests on host machine and they all run without skipping.

Signed-off-by: Sunil Mohan Adapa sunil@medhas.org

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading