Bug
If the test test_container_delete_not_empty fails and the container is actually deleted, the next tests relying on that same container will also fail. This is due to the container fixture having scope='module'.
Solutions
Change scope='module' to scope='function'.
Make a new container fixture for tests that delete them.
Bug If the test
test_container_delete_not_empty
fails and the container is actually deleted, the next tests relying on that same container will also fail. This is due to thecontainer fixture
havingscope='module'
.Solutions
scope='module'
toscope='function'
.