Skip to content

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