Remedy test failures

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-06-05 19:34:53 -07:00 committed by Joffrey F
parent e7b7480462
commit a85dddf83d
2 changed files with 3 additions and 7 deletions

View File

@ -258,8 +258,6 @@ class CLITestCase(DockerClientTestCase):
'restart': ''
},
},
'networks': {},
'volumes': {},
}
def test_config_external_network(self):
@ -311,8 +309,6 @@ class CLITestCase(DockerClientTestCase):
'network_mode': 'service:net',
},
},
'networks': {},
'volumes': {},
}
@v3_only()
@ -322,8 +318,6 @@ class CLITestCase(DockerClientTestCase):
assert yaml.load(result.stdout) == {
'version': '3.2',
'networks': {},
'secrets': {},
'volumes': {
'foobar': {
'labels': {

View File

@ -40,7 +40,9 @@ def build_config(**kwargs):
services=kwargs.get('services'),
volumes=kwargs.get('volumes'),
networks=kwargs.get('networks'),
secrets=kwargs.get('secrets'))
secrets=kwargs.get('secrets'),
configs=kwargs.get('configs'),
)
class ProjectTest(DockerClientTestCase):