瀏覽代碼

close worker in terminal test

Bastien Sevajol 6 年之前
父節點
當前提交
8915011a3f
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      tests/test_terminals.py

+ 1 - 2
tests/test_terminals.py 查看文件

@@ -164,7 +164,6 @@ class TestTerminals(BaseTest):
164 164
 
165 165
         terminals_manager.stop()  # TODO pytest must execute this if have fail
166 166
 
167
-    @pytest.mark.skip(reason="Buggy ! Never terminate, all processes closed ?")
168 167
     def test_terminal_as_main_process(self):
169 168
         shared.reset()
170 169
         config = Config()
@@ -201,4 +200,4 @@ class TestTerminals(BaseTest):
201 200
             ),
202 201
         )
203 202
         core.run()
204
-        pass
203
+        core.cycle_manager.process_manager.terminate()