Jelajahi Sumber

Remove containers after running CLI tests

Ben Firshman 11 tahun lalu
induk
melakukan
855a9c623c
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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))