Cleanup S3 a bit and add more coverage
This commit is contained in:
parent
815bb8846c
commit
1767d17018
4 changed files with 248 additions and 193 deletions
|
|
@ -30,6 +30,9 @@ def test_s3_server_bucket_create():
|
|||
res.status_code.should.equal(200)
|
||||
res.data.should.contain("ListBucketResult")
|
||||
|
||||
res = test_client.get('/missing-bucket', 'http://localhost:5000')
|
||||
res.status_code.should.equal(404)
|
||||
|
||||
res = test_client.put('/foobar/bar', 'http://localhost:5000', data='test value')
|
||||
res.status_code.should.equal(200)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue