Remove containers after running CLI tests

This commit is contained in:
Ben Firshman 2014-01-20 16:47:58 +00:00
parent 24a6d1d836
commit 855a9c623c
1 changed files with 4 additions and 0 deletions

View File

@ -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))