We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea1d9bd + dfe2038 commit 4b0caa1Copy full SHA for 4b0caa1
podman/tests/integration/test_containers.py
@@ -142,7 +142,8 @@ def test_container_crud(self):
142
143
# Try stopping the already stopped.
144
# See https://github.com/containers/podman-py/pull/550 for more info.
145
- top_ctnr.stop()
+ with self.assertRaises(APIError):
146
+ top_ctnr.stop()
147
148
top_ctnr.reload()
149
self.assertIn(top_ctnr.status, ("exited", "stopped"))
0 commit comments