浏览代码

refactor cli tests

Signed-off-by: Collins Abitekaniza <[email protected]>
Collins Abitekaniza 7 年之前
父节点
当前提交
b8b6199958
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/acceptance/cli_test.py

+ 1 - 0
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()