Restore files modified in non-working fix.

This commit is contained in:
Diego Argueta 2018-12-18 14:53:52 -08:00
commit 2cc8784e5c
4 changed files with 8 additions and 8 deletions

View file

@ -524,7 +524,7 @@ def test_post_to_bucket():
requests.post("https://foobar.s3.amazonaws.com/", {
'key': 'the-key',
'file': b'nothing'
'file': 'nothing'
})
bucket.get_key('the-key').get_contents_as_string().should.equal(b'nothing')
@ -538,7 +538,7 @@ def test_post_with_metadata_to_bucket():
requests.post("https://foobar.s3.amazonaws.com/", {
'key': 'the-key',
'file': b'nothing',
'file': 'nothing',
'x-amz-meta-test': 'metadata'
})

View file

@ -72,7 +72,7 @@ def test_s3_server_post_to_bucket():
test_client.post('/', "https://tester.localhost:5000/", data={
'key': 'the-key',
'file': b'nothing'
'file': 'nothing'
})
res = test_client.get('/the-key', 'http://tester.localhost:5000/')