diff --git a/tests/integration_test.py b/tests/integration_test.py index 49604332..59919dab 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -182,7 +182,8 @@ class TestCreateContainerWithBinds(BaseTestCase): 'busybox', ['ls', mount_dest], volumes={mount_dest: {}}, host_config=create_host_config( - binds=binds, network_mode='none') + binds=binds, network_mode='none' + ) ) container_id = container['Id'] self.client.start(container_id) @@ -223,7 +224,8 @@ class TestCreateContainerWithRoBinds(BaseTestCase): 'busybox', ['ls', mount_dest], volumes={mount_dest: {}}, host_config=create_host_config( - binds=binds, network_mode='none') + binds=binds, network_mode='none' + ) ) container_id = container['Id'] self.client.start(container_id) @@ -276,7 +278,8 @@ class TestCreateContainerReadOnlyFs(BaseTestCase): ctnr = self.client.create_container( 'busybox', ['mkdir', '/shrine'], host_config=create_host_config( - read_only=True, network_mode='none') + read_only=True, network_mode='none' + ) ) self.assertIn('Id', ctnr) self.tmp_containers.append(ctnr['Id']) @@ -351,7 +354,8 @@ class TestCreateContainerPrivileged(BaseTestCase): def runTest(self): res = self.client.create_container( 'busybox', 'true', host_config=create_host_config( - privileged=True, network_mode='none') + privileged=True, network_mode='none' + ) ) self.assertIn('Id', res) self.tmp_containers.append(res['Id']) @@ -596,7 +600,8 @@ class TestPort(BaseTestCase): container = self.client.create_container( 'busybox', ['sleep', '60'], ports=list(port_bindings.keys()), host_config=create_host_config( - port_bindings=port_bindings, network_mode='bridge') + port_bindings=port_bindings, network_mode='bridge' + ) ) id = container['Id'] @@ -723,7 +728,8 @@ class TestCreateContainerWithVolumesFrom(BaseTestCase): res2 = self.client.create_container( 'busybox', 'cat', detach=True, stdin_open=True, host_config=create_host_config( - volumes_from=vol_names, network_mode='none') + volumes_from=vol_names, network_mode='none' + ) ) container3_id = res2['Id'] self.tmp_containers.append(container3_id)