1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #42756 from thaJeztah/remove_unused_testutils_imports

libnetwork: remove unused "testutils" imports
This commit is contained in:
Sebastiaan van Stijn 2021-08-19 22:00:56 +02:00 committed by GitHub
commit b6919cb553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 0 additions and 47 deletions

View file

@ -13,9 +13,6 @@ import (
"github.com/ishidawataru/sctp"
"gotest.tools/v3/skip"
// this takes care of the incontainer flag
_ "github.com/docker/docker/libnetwork/testutils"
)
var testBuf = []byte("Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo")

View file

@ -10,7 +10,6 @@ import (
"time"
"github.com/docker/docker/libnetwork/datastore"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/libkv/store"
"github.com/docker/libkv/store/boltdb"
)

View file

@ -8,7 +8,6 @@ import (
"github.com/docker/docker/libnetwork/datastore"
"github.com/docker/docker/libnetwork/netlabel"
_ "github.com/docker/docker/libnetwork/testutils"
)
func TestInvalidConfig(t *testing.T) {

View file

@ -6,7 +6,6 @@ import (
"testing"
"github.com/docker/docker/libnetwork/options"
_ "github.com/docker/docker/libnetwork/testutils"
"gotest.tools/v3/assert"
)

View file

@ -5,7 +5,6 @@ import (
"net"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
)

View file

@ -3,7 +3,6 @@ package host
import (
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
)

View file

@ -6,7 +6,6 @@ import (
"testing"
"github.com/docker/docker/libnetwork/driverapi"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/pkg/plugingetter"
)

View file

@ -6,7 +6,6 @@ import (
"testing"
"github.com/docker/docker/libnetwork/driverapi"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/pkg/plugingetter"
)

View file

@ -3,7 +3,6 @@ package null
import (
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
)

View file

@ -17,7 +17,6 @@ import (
"github.com/docker/docker/libnetwork/discoverapi"
"github.com/docker/docker/libnetwork/driverapi"
"github.com/docker/docker/libnetwork/netlabel"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/pkg/plugingetter"
"github.com/docker/libkv/store/consul"
"github.com/vishvananda/netlink/nl"

View file

@ -9,7 +9,6 @@ import (
"github.com/docker/docker/libnetwork/driverapi"
"github.com/docker/docker/libnetwork/idm"
"github.com/docker/docker/libnetwork/netlabel"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"

View file

@ -5,8 +5,6 @@ package overlay
import (
"net"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
)
func TestPeerMarshal(t *testing.T) {

View file

@ -18,7 +18,6 @@ import (
"github.com/docker/docker/libnetwork/datastore"
"github.com/docker/docker/libnetwork/discoverapi"
"github.com/docker/docker/libnetwork/driverapi"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
"github.com/docker/docker/pkg/plugins"
)

View file

@ -14,9 +14,6 @@ import (
remoteIpam "github.com/docker/docker/libnetwork/ipams/remote"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
// this takes care of the incontainer flag
_ "github.com/docker/docker/libnetwork/testutils"
)
const mockDriverName = "mock-driver"

View file

@ -7,7 +7,6 @@ import (
"os"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"golang.org/x/sync/errgroup"
)

View file

@ -5,7 +5,6 @@ import (
"testing"
mapset "github.com/deckarep/golang-set"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/pkg/discovery"
)

View file

@ -2,8 +2,6 @@ package idm
import (
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
)
func TestNew(t *testing.T) {

View file

@ -2,8 +2,6 @@ package caller
import (
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
)
func fun1() string {

View file

@ -6,8 +6,6 @@ import (
"strings"
"testing"
"time"
_ "github.com/docker/docker/libnetwork/testutils"
)
func TestSetSerialInsertDelete(t *testing.T) {

View file

@ -17,7 +17,6 @@ import (
"github.com/docker/docker/libnetwork/bitseq"
"github.com/docker/docker/libnetwork/datastore"
"github.com/docker/docker/libnetwork/ipamapi"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
"github.com/docker/libkv/store"
"github.com/docker/libkv/store/boltdb"

View file

@ -3,7 +3,6 @@ package null
import (
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
)

View file

@ -14,7 +14,6 @@ import (
"testing"
"github.com/docker/docker/libnetwork/ipamapi"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/pkg/plugins"
)

View file

@ -6,7 +6,6 @@ import (
"github.com/docker/docker/libnetwork/ipamapi"
"github.com/docker/docker/libnetwork/netlabel"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
)

View file

@ -4,7 +4,6 @@ import (
"net"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)

View file

@ -9,7 +9,6 @@ import (
"strings"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"golang.org/x/sync/errgroup"
)

View file

@ -2,8 +2,6 @@ package netlabel
import (
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
)
var input = []struct {

View file

@ -18,9 +18,6 @@ import (
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
"gotest.tools/v3/poll"
// this takes care of the incontainer flag
_ "github.com/docker/docker/libnetwork/testutils"
)
var dbPort int32 = 10000

View file

@ -4,8 +4,6 @@ import (
"reflect"
"strings"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
)
func TestGenerate(t *testing.T) {

View file

@ -6,8 +6,6 @@ import (
"github.com/sirupsen/logrus"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
_ "github.com/docker/docker/libnetwork/testutils"
)
func TestReadWriteKnobs(t *testing.T) {

View file

@ -4,8 +4,6 @@ import (
"fmt"
"net"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
)
func resetPortAllocator() {

View file

@ -6,7 +6,6 @@ import (
"testing"
"github.com/docker/docker/libnetwork/iptables"
_ "github.com/docker/docker/libnetwork/testutils"
)
func init() {

View file

@ -6,7 +6,6 @@ import (
"os"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"github.com/docker/docker/libnetwork/types"
"github.com/docker/docker/pkg/ioutils"
)

View file

@ -4,7 +4,6 @@ import (
"net"
"testing"
_ "github.com/docker/docker/libnetwork/testutils"
"gotest.tools/v3/assert"
is "gotest.tools/v3/assert/cmp"
)