Move S3 storage to SpooledTemporaryFile
This commit is contained in:
parent
ed861ecae1
commit
b0a280bde2
5 changed files with 40 additions and 18 deletions
|
|
@ -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/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue