Ver Fonte

Fix test

Mike Naberezny há 10 anos atrás
pai
commit
c9e36c3279
1 ficheiros alterados com 1 adições e 0 exclusões
  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()