Skip to content

Commit 4b0caa1

Browse files
committed
Merge branch 'pr_550'
2 parents ea1d9bd + dfe2038 commit 4b0caa1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

podman/tests/integration/test_containers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ def test_container_crud(self):
142142

143143
# Try stopping the already stopped.
144144
# See https://github.com/containers/podman-py/pull/550 for more info.
145-
top_ctnr.stop()
145+
with self.assertRaises(APIError):
146+
top_ctnr.stop()
146147

147148
top_ctnr.reload()
148149
self.assertIn(top_ctnr.status, ("exited", "stopped"))

0 commit comments

Comments
 (0)