s3: Open() creates bucket if it does not exist

This commit is contained in:
Alexander Neumann 2015-12-19 13:26:42 +01:00
parent 248f991ad4
commit 5736742c3e
2 changed files with 2 additions and 15 deletions

View file

@ -12,7 +12,7 @@ type deleter interface {
}
func TestS3Backend(t *testing.T) {
be, err := s3.Create("127.0.0.1:9000", "restictestbucket")
be, err := s3.Open("127.0.0.1:9000", "restictestbucket")
OK(t, err)
testBackend(be, t)