summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2011-03-24 03:28:59 -0700
committerJustin Santa Barbara <justin@fathomdb.com>2011-03-24 03:28:59 -0700
commitd49219f8b6dd626b868b99bee8a22c4ac5495af1 (patch)
tree3e4fe8fbda958976eb75933d865f722546236085 /nova/tests
parent230d07e9002371bdb0030c9199df35fc6360a0a2 (diff)
pep8 fixes
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/integrated/api/client.py2
-rw-r--r--nova/tests/integrated/test_volumes.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/integrated/api/client.py b/nova/tests/integrated/api/client.py
index deb7fd981..023871bda 100644
--- a/nova/tests/integrated/api/client.py
+++ b/nova/tests/integrated/api/client.py
@@ -226,7 +226,7 @@ class TestOpenStackClient(object):
def get_server_volume(self, server_id, attachment_id):
return self.api_get('/servers/%s/volume_attachments/%s' %
(server_id, attachment_id))['volumeAttachment']
-
+
def get_server_volumes(self, server_id):
return self.api_get('/servers/%s/volume_attachments' %
(server_id))['volumeAttachments']
diff --git a/nova/tests/integrated/test_volumes.py b/nova/tests/integrated/test_volumes.py
index f69361fb0..aa90301a5 100644
--- a/nova/tests/integrated/test_volumes.py
+++ b/nova/tests/integrated/test_volumes.py
@@ -159,8 +159,8 @@ class VolumesTest(integrated_helpers._IntegratedTestBase):
# Template attach request
device = '/dev/sdc'
- attach_req = { 'device': device }
- post_req = { 'volumeAttachment': attach_req }
+ attach_req = {'device': device}
+ post_req = {'volumeAttachment': attach_req}
# Try to attach to a non-existent volume; should fail
attach_req['volumeId'] = 3405691582