From 8512b33e24657efbdb05869967f1bb593d70f44b Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Mon, 5 Jun 2017 19:34:53 -0700 Subject: [PATCH] Remedy test failures Signed-off-by: Joffrey F --- tests/acceptance/cli_test.py | 6 ------ tests/integration/project_test.py | 4 +++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/acceptance/cli_test.py b/tests/acceptance/cli_test.py index 89f4f288b..dd95fb545 100644 --- a/tests/acceptance/cli_test.py +++ b/tests/acceptance/cli_test.py @@ -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': { diff --git a/tests/integration/project_test.py b/tests/integration/project_test.py index 69f06b75c..6c5f719ed 100644 --- a/tests/integration/project_test.py +++ b/tests/integration/project_test.py @@ -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):