Skip to content

Commit daea185

Browse files
committed
nit: parenthesis alignment
1 parent 80a97cf commit daea185

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

tests/integration_test.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ def runTest(self):
182182
'busybox',
183183
['ls', mount_dest], volumes={mount_dest: {}},
184184
host_config=create_host_config(
185-
binds=binds, network_mode='none')
185+
binds=binds, network_mode='none'
186+
)
186187
)
187188
container_id = container['Id']
188189
self.client.start(container_id)
@@ -223,7 +224,8 @@ def runTest(self):
223224
'busybox',
224225
['ls', mount_dest], volumes={mount_dest: {}},
225226
host_config=create_host_config(
226-
binds=binds, network_mode='none')
227+
binds=binds, network_mode='none'
228+
)
227229
)
228230
container_id = container['Id']
229231
self.client.start(container_id)
@@ -276,7 +278,8 @@ def runTest(self):
276278
ctnr = self.client.create_container(
277279
'busybox', ['mkdir', '/shrine'],
278280
host_config=create_host_config(
279-
read_only=True, network_mode='none')
281+
read_only=True, network_mode='none'
282+
)
280283
)
281284
self.assertIn('Id', ctnr)
282285
self.tmp_containers.append(ctnr['Id'])
@@ -351,7 +354,8 @@ class TestCreateContainerPrivileged(BaseTestCase):
351354
def runTest(self):
352355
res = self.client.create_container(
353356
'busybox', 'true', host_config=create_host_config(
354-
privileged=True, network_mode='none')
357+
privileged=True, network_mode='none'
358+
)
355359
)
356360
self.assertIn('Id', res)
357361
self.tmp_containers.append(res['Id'])
@@ -596,7 +600,8 @@ def runTest(self):
596600
container = self.client.create_container(
597601
'busybox', ['sleep', '60'], ports=list(port_bindings.keys()),
598602
host_config=create_host_config(
599-
port_bindings=port_bindings, network_mode='bridge')
603+
port_bindings=port_bindings, network_mode='bridge'
604+
)
600605
)
601606
id = container['Id']
602607

@@ -723,7 +728,8 @@ def runTest(self):
723728
res2 = self.client.create_container(
724729
'busybox', 'cat', detach=True, stdin_open=True,
725730
host_config=create_host_config(
726-
volumes_from=vol_names, network_mode='none')
731+
volumes_from=vol_names, network_mode='none'
732+
)
727733
)
728734
container3_id = res2['Id']
729735
self.tmp_containers.append(container3_id)

0 commit comments

Comments
 (0)