Adding docker-compose down
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
18df1e170d
commit
c8ed156806
5 changed files with 110 additions and 0 deletions
|
|
@ -314,6 +314,14 @@ class CLITestCase(DockerClientTestCase):
|
|||
['create', '--force-recreate', '--no-recreate'],
|
||||
returncode=1)
|
||||
|
||||
def test_down_invalid_rmi_flag(self):
|
||||
result = self.dispatch(['down', '--rmi', 'bogus'], returncode=1)
|
||||
assert '--rmi flag must be' in result.stderr
|
||||
|
||||
def test_down(self):
|
||||
result = self.dispatch(['down'])
|
||||
# TODO:
|
||||
|
||||
def test_up_detached(self):
|
||||
self.dispatch(['up', '-d'])
|
||||
service = self.project.get_service('simple')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue