Skip to content
Snippets Groups Projects
Commit 281755d0 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Fix in Python 2.7

parent 7ca11d77
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -157,11 +157,11 @@ class S3TestCase(testing.AsyncTestCase):
headers['x-amz-server-side-encryption'] = 'AES256'
response = yield self.client.fetch(
'PUT', '/{}'.format(key), headers=headers, body=value)
return response.code == 200
raise gen.Return(response.code == 200)
 
@testing.gen_test
def test_store_and_get(self):
result = yield self.client.fetch(
yield self.client.fetch(
'PUT', '/', self.headers, body=CREATE_BUCKET_BODY.encode('utf-8'))
record = {
'id': str(uuid.uuid4()),
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment