mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
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…
x
Reference in New Issue
Block a user