Move S3 storage to SpooledTemporaryFile

This commit is contained in:
Diego Argueta 2018-12-18 14:08:37 -08:00
commit b0a280bde2
5 changed files with 40 additions and 18 deletions

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': 'nothing'
'file': b'nothing'
})
res = test_client.get('/the-key', 'http://tester.localhost:5000/')