1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

23 commits

Author SHA1 Message Date
Wesley Beary
5025587cca put_bucket should be idempotent 2009-09-08 11:54:38 -07:00
Wesley Beary
b23594254c Fix s3 mocking behaviours:
1) delete_bucket should raise a 409 if the bucket is not empty
2) (get/put)_object should have 'Content-Type' headers
2009-09-02 20:15:32 -07:00
Wesley Beary
bb7c79295e support options in s3.get_bucket mocks 2009-08-18 09:32:25 -07:00
Wesley Beary
962169950a keep mocked data on class (new instances will share data) and provide reset_data function 2009-08-17 22:39:44 -07:00
Wesley Beary
dbe4012d29 fix query string for get bucket 2009-08-17 17:38:59 -07:00
Wesley Beary
dae13d496c custom error classes, specs for error expectations and mocks raise errors 2009-08-16 13:31:36 -07:00
Wesley Beary
12a570fa50 change s3 mocks data hash to more workable format 2009-08-16 11:45:52 -07:00
Wesley Beary
1f6df7083f formatting cleanup 2009-08-16 11:44:50 -07:00
Wesley Beary
019979a908 better mocked values 2009-08-14 09:18:55 -07:00
Wesley Beary
4d327641d9 more realistic mock etags, handle preconditions in s3 get_object mock 2009-08-12 21:13:55 -07:00
Wesley Beary
78e2928cee get all mocked s3 tests passing 2009-08-08 22:40:42 -07:00
Wesley Beary
175e5802f7 finish most of the other s3 mocks 2009-08-08 14:46:13 -07:00
Wesley Beary
5a156e5a0b fleshing out existing mocks and adding basic object mocks 2009-08-08 12:31:32 -07:00
Wesley Beary
3e6c9703b9 refining mocks, getting tests to cooperate 2009-08-07 19:55:11 -07:00
Wesley Beary
9af158aa9c first pass at mocking setup 2009-08-07 00:28:53 -07:00
Wesley Beary
b6085bd369 AmazonCase s3 2009-07-29 19:50:51 -07:00
Wesley Beary
4cdaed941d update optional params parsing for s3 2009-07-28 21:23:28 -07:00
Wesley Beary
daf8c9b131 stuff for optional params 2009-07-27 22:53:51 -07:00
Wesley Beary
da0d4b79b2 allow use of optional params for s3 get/head object 2009-07-22 09:38:06 -07:00
Wesley Beary
1024b837e2 add docs for returned headers on s3 get/head object 2009-07-21 18:23:18 -07:00
Wesley Beary
4c92ee236e doc work 2009-07-20 19:47:48 -07:00
Wesley Beary
a6ec973792 get expected status code or raise errors 2009-07-14 16:04:39 -07:00
Wesley Beary
dbc9ebfb04 split out requests into their own files 2009-07-13 19:14:59 -07:00