瀏覽代碼

close worker in terminal test

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

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

164
 
164
 
165
         terminals_manager.stop()  # TODO pytest must execute this if have fail
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
     def test_terminal_as_main_process(self):
167
     def test_terminal_as_main_process(self):
169
         shared.reset()
168
         shared.reset()
170
         config = Config()
169
         config = Config()
201
             ),
200
             ),
202
         )
201
         )
203
         core.run()
202
         core.run()
204
-        pass
203
+        core.cycle_manager.process_manager.terminate()