Переглянути джерело

Remove containers after running CLI tests

Ben Firshman 11 роки тому
батько
коміт
855a9c623c
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      tests/cli_test.py

+ 4 - 0
tests/cli_test.py

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