mirror of https://github.com/ceph/go-ceph
rados: import testify suite as tsuite
This avoids import shadowing elsewhere in rados_test.go. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
bf6cd07204
commit
c658cc93a9
|
@ -14,11 +14,11 @@ import (
|
|||
"github.com/gofrs/uuid"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/stretchr/testify/suite"
|
||||
tsuite "github.com/stretchr/testify/suite"
|
||||
)
|
||||
|
||||
type RadosTestSuite struct {
|
||||
suite.Suite
|
||||
tsuite.Suite
|
||||
conn *Conn
|
||||
ioctx *IOContext
|
||||
pool string
|
||||
|
@ -1293,5 +1293,5 @@ func (suite *RadosTestSuite) TestSetGetNamespace() {
|
|||
}
|
||||
|
||||
func TestRadosTestSuite(t *testing.T) {
|
||||
suite.Run(t, new(RadosTestSuite))
|
||||
tsuite.Run(t, new(RadosTestSuite))
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ func (c *debugHTTPClient) Do(req *http.Request) (*http.Response, error) {
|
|||
}
|
||||
|
||||
func TestRadosGWTestSuite(t *testing.T) {
|
||||
suite.Run(t, new(RadosGWTestSuite))
|
||||
tsuite.Run(t, new(RadosGWTestSuite))
|
||||
}
|
||||
|
||||
// S3Agent wraps the s3.S3 structure to allow for wrapper methods
|
||||
|
|
Loading…
Reference in New Issue