mirror of https://github.com/docker/compose.git
Remedy test failures
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
0fa7163522
commit
8512b33e24
|
@ -258,8 +258,6 @@ class CLITestCase(DockerClientTestCase):
|
||||||
'restart': ''
|
'restart': ''
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'networks': {},
|
|
||||||
'volumes': {},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def test_config_external_network(self):
|
def test_config_external_network(self):
|
||||||
|
@ -311,8 +309,6 @@ class CLITestCase(DockerClientTestCase):
|
||||||
'network_mode': 'service:net',
|
'network_mode': 'service:net',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'networks': {},
|
|
||||||
'volumes': {},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@v3_only()
|
@v3_only()
|
||||||
|
@ -322,8 +318,6 @@ class CLITestCase(DockerClientTestCase):
|
||||||
|
|
||||||
assert yaml.load(result.stdout) == {
|
assert yaml.load(result.stdout) == {
|
||||||
'version': '3.2',
|
'version': '3.2',
|
||||||
'networks': {},
|
|
||||||
'secrets': {},
|
|
||||||
'volumes': {
|
'volumes': {
|
||||||
'foobar': {
|
'foobar': {
|
||||||
'labels': {
|
'labels': {
|
||||||
|
|
|
@ -40,7 +40,9 @@ def build_config(**kwargs):
|
||||||
services=kwargs.get('services'),
|
services=kwargs.get('services'),
|
||||||
volumes=kwargs.get('volumes'),
|
volumes=kwargs.get('volumes'),
|
||||||
networks=kwargs.get('networks'),
|
networks=kwargs.get('networks'),
|
||||||
secrets=kwargs.get('secrets'))
|
secrets=kwargs.get('secrets'),
|
||||||
|
configs=kwargs.get('configs'),
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class ProjectTest(DockerClientTestCase):
|
class ProjectTest(DockerClientTestCase):
|
||||||
|
|
Loading…
Reference in New Issue