PEP8 fixes, 2 lines were too long.
This commit is contained in:
parent
8e1b88cc22
commit
9c7ddf24ac
@ -42,7 +42,8 @@ class S3ImageService(service.BaseImageService):
|
||||
self._conn(context).make_request(
|
||||
method='POST',
|
||||
bucket='_images',
|
||||
query_args=self._qs({'image_id': image_id, 'operation': operation}))
|
||||
query_args=self._qs({'image_id': image_id,
|
||||
'operation': operation}))
|
||||
return True
|
||||
|
||||
def update(self, context, image_id, attributes):
|
||||
|
@ -58,7 +58,8 @@ class BaseImageServiceTests(object):
|
||||
id = self.service.create(self.context, fixture)
|
||||
|
||||
self.assertNotEquals(None, id)
|
||||
self.assertEquals(num_images + 1, len(self.service.index(self.context)))
|
||||
self.assertEquals(num_images + 1,
|
||||
len(self.service.index(self.context)))
|
||||
|
||||
def test_create_and_show_non_existing_image(self):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user