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
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue