mirror of
https://github.com/containers/podman.git
synced 2025-09-16 14:17:38 +08:00
Refactor attach()/start() after podman changes
* Update examples * Update/Clean up unittests * Add Mixins for container attach()/start() Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #1080 Approved by: baude
This commit is contained in:
@ -62,6 +62,7 @@ class TestImages(PodmanTestCase):
|
||||
actual = self.alpine_image.container()
|
||||
self.assertIsNotNone(actual)
|
||||
self.assertEqual(actual.status, 'configured')
|
||||
|
||||
ctnr = actual.start()
|
||||
self.assertIn(ctnr.status, ['running', 'exited'])
|
||||
|
||||
|
Reference in New Issue
Block a user