refactor cli tests

Signed-off-by: Collins Abitekaniza <abtcolns@gmail.com>
This commit is contained in:
Collins Abitekaniza 2018-11-16 18:34:18 +03:00
parent dbe3a6e9a9
commit b8b6199958
1 changed files with 1 additions and 0 deletions

View File

@ -2229,6 +2229,7 @@ class CLITestCase(DockerClientTestCase):
def test_start_no_containers(self): def test_start_no_containers(self):
result = self.dispatch(['start'], returncode=1) result = self.dispatch(['start'], returncode=1)
assert 'failed' in result.stderr
assert 'No containers to start' in result.stderr assert 'No containers to start' in result.stderr
@v2_only() @v2_only()