Skip to content

Commit 366161d

Browse files
author
Matthew Fisher
committed
test(controller): add test for stopping containers
1 parent d0d2a08 commit 366161d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

controller/api/tests/test_container.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ def test_container_state_good(self):
6262
self.assertEqual(c.state, 'created')
6363
c.start()
6464
self.assertEqual(c.state, 'up')
65+
c.stop()
66+
self.assertEqual(c.state, 'down')
6567
c.destroy()
6668
self.assertEqual(c.state, 'destroyed')
6769

0 commit comments

Comments
 (0)