1
0
mirror of https://github.com/moby/moby.git synced 2025-10-25 20:38:05 +03:00

Use testEnv methods and remove most of the global variables

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester
2017-01-13 17:23:28 +01:00
parent a7c3389a82
commit c8016e669f
40 changed files with 180 additions and 231 deletions

View File

@@ -49,7 +49,7 @@ type DockerNetworkSuite struct {
func (s *DockerNetworkSuite) SetUpTest(c *check.C) {
s.d = daemon.New(c, dockerBinary, dockerdBinary, daemon.Config{
Experimental: experimentalDaemon,
Experimental: testEnv.ExperimentalDaemon(),
})
}