소스 검색

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