mirror of https://github.com/docker/compose.git
Check full error message in test_up_with_net_is_invalid
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
9cfbfd55c4
commit
8a9ab69a1c
|
@ -675,9 +675,7 @@ class CLITestCase(DockerClientTestCase):
|
|||
['-f', 'v2-invalid.yml', 'up', '-d'],
|
||||
returncode=1)
|
||||
|
||||
# TODO: fix validation error messages for v2 files
|
||||
# assert "Unsupported config option for service 'web': 'net'" in exc.exconly()
|
||||
assert "Unsupported config option" in result.stderr
|
||||
assert "Unsupported config option for services.bar: 'net'" in result.stderr
|
||||
|
||||
def test_up_with_net_v1(self):
|
||||
self.base_dir = 'tests/fixtures/net-container'
|
||||
|
|
Loading…
Reference in New Issue