mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Move test specific functions to a testutils package.
This way we won't vendor test related functions in docker anymore. It also moves netns related functions to a new ns package to be able to call the ns init function in tests. I think this also helps with the overall package isolation. Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
parent
225a52c765
commit
cc02894a50
41 changed files with 203 additions and 173 deletions
|
|
@ -6,7 +6,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/docker/libnetwork/iptables"
|
||||
_ "github.com/docker/libnetwork/netutils"
|
||||
_ "github.com/docker/libnetwork/testutils"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue