1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-23 00:00:04 +01:00
restic/backend/s3_test.go

19 lines
321 B
Go
Raw Normal View History

2015-05-15 16:53:00 -05:00
package backend_test
import (
"testing"
bes3 "github.com/restic/restic/backend/s3"
. "github.com/restic/restic/test"
)
func setupS3Backend(t *testing.T) *bes3.S3Backend {
return bes3.Open("play.minio.io:9000", "restictestbucket")
2015-05-15 16:53:00 -05:00
}
func TestS3Backend(t *testing.T) {
s := setupS3Backend(t)
testBackend(s, t)
}