Clean up pep8 E123 and E124 violations
Fixed E123 and E124 errors.
All ignores are to be removed in the next sequence of patches.
Change-Id: Ie5dc0cd6b0cbdf00f403cb1a039c499a2fca869e
diff --git a/stress/test_servers.py b/stress/test_servers.py
index 3075045..1a4b830 100644
--- a/stress/test_servers.py
+++ b/stress/test_servers.py
@@ -67,20 +67,19 @@
'metadata': {
'key1': 'value1',
'key2': 'value2',
- },
+ },
'imageRef': _image_ref,
'flavorRef': _flavor_ref,
'adminPass': 'testpwd',
- 'key_name': _key_name
- }
+ 'key_name': _key_name,
+ }
TestCreateVM._vm_id = TestCreateVM._vm_id + 1
- response, body = manager.servers_client.create_server(
- expected_server['name'],
- _image_ref,
- _flavor_ref,
- meta=expected_server['metadata'],
- adminPass=expected_server['adminPass']
- )
+ create_server = manager.servers_client.create_server
+ response, body = create_server(expected_server['name'],
+ _image_ref,
+ _flavor_ref,
+ meta=expected_server['metadata'],
+ adminPass=expected_server['adminPass'])
if (response.status != 202):
self._logger.error("response: %s" % response)