Fix integration test regression

The test for starting a container with volume binds hadn't been updated
to use the new dictionary structure for the `binds` argument.
This commit is contained in:
Aanand Prasad 2014-04-28 16:08:31 +01:00
parent 73434476b3
commit fdd39a85cc
1 changed files with 9 additions and 1 deletions

View File

@ -149,7 +149,15 @@ class TestCreateContainerWithBinds(BaseTestCase):
['ls', mount_dest], volumes={mount_dest: {}}
)
container_id = container['Id']
self.client.start(container_id, binds={mount_origin: mount_dest})
self.client.start(
container_id,
binds={
mount_origin: {
'bind': mount_dest,
'ro': False,
},
},
)
self.tmp_containers.append(container_id)
exitcode = self.client.wait(container_id)
self.assertEqual(exitcode, 0)