1
0
mirror of https://github.com/restic/restic.git synced 2024-07-16 10:47:34 +02:00
restic/backend/s3_test.go

19 lines
321 B
Go
Raw Normal View History

2015-05-15 23:53:00 +02: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 23:53:00 +02:00
}
func TestS3Backend(t *testing.T) {
s := setupS3Backend(t)
testBackend(s, t)
}