mirror of
https://github.com/docker/compose.git
synced 2026-08-31 23:03:55 +00:00
Add --quiet build flag
Signed-off-by: Akshit Grover <akshit.grover2016@gmail.com>
This commit is contained in:
parent
b09d8802ed
commit
1f97a572fe
6 changed files with 20 additions and 9 deletions
|
|
@ -170,6 +170,13 @@ class CLITestCase(DockerClientTestCase):
|
|||
# Prevent tearDown from trying to create a project
|
||||
self.base_dir = None
|
||||
|
||||
def test_quiet_build(self):
|
||||
self.base_dir = 'tests/fixtures/build-args'
|
||||
result = self.dispatch(['build'], None)
|
||||
quietResult = self.dispatch(['build', '-q'], None)
|
||||
assert result.stdout != ""
|
||||
assert quietResult.stdout == ""
|
||||
|
||||
def test_help_nonexistent(self):
|
||||
self.base_dir = 'tests/fixtures/no-composefile'
|
||||
result = self.dispatch(['help', 'foobar'], returncode=1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue