mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Add --volumes flag to config command
Closes #3609 Signed-off-by: Evan Shaw <evan@vendhq.com>
This commit is contained in:
parent
a953651597
commit
d67261f26e
2 changed files with 10 additions and 0 deletions
|
|
@ -177,6 +177,11 @@ class CLITestCase(DockerClientTestCase):
|
|||
result = self.dispatch(['config', '--services'])
|
||||
assert set(result.stdout.rstrip().split('\n')) == {'web', 'other'}
|
||||
|
||||
def test_config_list_volumes(self):
|
||||
self.base_dir = 'tests/fixtures/v2-full'
|
||||
result = self.dispatch(['config', '--volumes'])
|
||||
assert set(result.stdout.rstrip().split('\n')) == {'data'}
|
||||
|
||||
def test_config_quiet_with_error(self):
|
||||
self.base_dir = None
|
||||
result = self.dispatch([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue