PEP8 fixes, 2 lines were too long.

This commit is contained in:
Eric Day 2010-11-18 21:27:00 -08:00
parent 8e1b88cc22
commit 9c7ddf24ac
2 changed files with 4 additions and 2 deletions

View File

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

View File

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