Cleanup S3 a bit and add more coverage

This commit is contained in:
Steve Pulec 2014-03-30 11:50:36 -04:00
commit 1767d17018
4 changed files with 248 additions and 193 deletions

View file

@ -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)