mirror of
https://github.com/docker/compose.git
synced 2025-07-03 20:04:25 +02:00
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'],
|
['-f', 'v2-invalid.yml', 'up', '-d'],
|
||||||
returncode=1)
|
returncode=1)
|
||||||
|
|
||||||
# TODO: fix validation error messages for v2 files
|
assert "Unsupported config option for services.bar: 'net'" in result.stderr
|
||||||
# assert "Unsupported config option for service 'web': 'net'" in exc.exconly()
|
|
||||||
assert "Unsupported config option" in result.stderr
|
|
||||||
|
|
||||||
def test_up_with_net_v1(self):
|
def test_up_with_net_v1(self):
|
||||||
self.base_dir = 'tests/fixtures/net-container'
|
self.base_dir = 'tests/fixtures/net-container'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user