mirror of https://github.com/docker/compose.git
Remove intermediate containers in recreate test
This commit is contained in:
parent
cf18a3141f
commit
ea93c01dfb
|
@ -61,6 +61,10 @@ class ProjectTest(DockerClientTestCase):
|
|||
self.assertEqual(len(web.containers(stopped=True)), 1)
|
||||
self.assertEqual(len(db.containers(stopped=True)), 1)
|
||||
|
||||
# remove intermediate containers
|
||||
for (service, container) in old:
|
||||
container.remove()
|
||||
|
||||
def test_start_stop_kill_remove(self):
|
||||
web = self.create_service('web')
|
||||
db = self.create_service('db')
|
||||
|
|
Loading…
Reference in New Issue