From fdd39a85cc773331062a8df09549d588bd6ee008 Mon Sep 17 00:00:00 2001 From: Aanand Prasad Date: Mon, 28 Apr 2014 16:08:31 +0100 Subject: [PATCH] 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. --- tests/integration_test.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/integration_test.py b/tests/integration_test.py index 42dcf458..6761725e 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -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)