forked from TrueCloudLab/distribution
We don't use gocheck in these tests
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
This commit is contained in:
parent
f78d81e78a
commit
2d316a12d3
1 changed files with 2 additions and 9 deletions
|
@ -13,8 +13,6 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"gopkg.in/check.v1"
|
|
||||||
|
|
||||||
"github.com/aws/aws-sdk-go/aws"
|
"github.com/aws/aws-sdk-go/aws"
|
||||||
"github.com/aws/aws-sdk-go/service/s3"
|
"github.com/aws/aws-sdk-go/service/s3"
|
||||||
|
|
||||||
|
@ -23,13 +21,8 @@ import (
|
||||||
"github.com/distribution/distribution/v3/registry/storage/driver/testsuites"
|
"github.com/distribution/distribution/v3/registry/storage/driver/testsuites"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hook up gocheck into the "go test" runner.
|
var s3DriverConstructor func(rootDirectory, storageClass string) (*Driver, error)
|
||||||
func Test(t *testing.T) { check.TestingT(t) }
|
var skipS3 func() string
|
||||||
|
|
||||||
var (
|
|
||||||
s3DriverConstructor func(rootDirectory, storageClass string) (*Driver, error)
|
|
||||||
skipS3 func() string
|
|
||||||
)
|
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in a new issue