mirror of
https://github.com/docker/docs.git
synced 2026-03-30 15:58:53 +07:00
Remove containers after running CLI tests
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user