From b8b6199958eaa77c7364b07431d1f6b2e8c1e220 Mon Sep 17 00:00:00 2001 From: Collins Abitekaniza Date: Fri, 16 Nov 2018 18:34:18 +0300 Subject: [PATCH] refactor cli tests Signed-off-by: Collins Abitekaniza --- tests/acceptance/cli_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/acceptance/cli_test.py b/tests/acceptance/cli_test.py index f42268f2c..d808da9c5 100644 --- a/tests/acceptance/cli_test.py +++ b/tests/acceptance/cli_test.py @@ -2229,6 +2229,7 @@ class CLITestCase(DockerClientTestCase): def test_start_no_containers(self): result = self.dispatch(['start'], returncode=1) + assert 'failed' in result.stderr assert 'No containers to start' in result.stderr @v2_only()