Mike Naberezny 10 年之前
父节点
当前提交
c9e36c3279
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      supervisor/tests/test_rpcinterfaces.py

+ 1 - 0
supervisor/tests/test_rpcinterfaces.py

@@ -759,6 +759,7 @@ class SupervisorNamespaceXMLRPCInterfaceTests(TestBase):
         supervisord.set_procattr('process2', 'state', ProcessStates.RUNNING)
         interface = self._makeOne(supervisord)
         callback = interface.stopProcessGroup('foo', wait=False)
+        from supervisor.xmlrpc import NOT_DONE_YET
         from supervisor.xmlrpc import Faults
 
         # create callbacks in killall()