nit: parenthesis alignment

This commit is contained in:
Joffrey F 2015-07-29 12:43:39 -07:00
parent 80a97cf2ea
commit daea185a23
1 changed files with 12 additions and 6 deletions

View File

@ -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)