mirror of https://github.com/docker/compose.git
Remove containers after running CLI tests
This commit is contained in:
parent
24a6d1d836
commit
855a9c623c
|
@ -8,6 +8,10 @@ class CLITestCase(unittest.TestCase):
|
|||
self.command = TopLevelCommand()
|
||||
self.command.base_dir = 'tests/fixtures/simple-figfile'
|
||||
|
||||
def tearDown(self):
|
||||
self.command.project.kill()
|
||||
self.command.project.remove_stopped()
|
||||
|
||||
def test_help(self):
|
||||
self.assertRaises(SystemExit, lambda: self.command.dispatch(['-h'], None))
|
||||
|
||||
|
|
Loading…
Reference in New Issue