Explorar el Código

Fix method names in mock

Mike Naberezny hace 10 años
padre
commit
2a91763d0f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      supervisor/tests/test_supervisorctl.py

+ 2 - 2
supervisor/tests/test_supervisorctl.py

@@ -952,8 +952,8 @@ class TestDefaultControllerPlugin(unittest.TestCase):
         def f(*arg, **kw):
             called.append(True)
         supervisor = plugin.ctl.options._server.supervisor
-        supervisor.stopAllProcesses = f
-        supervisor.stopProcessGroup = f
+        supervisor.signalAllProcesses = f
+        supervisor.signalProcessGroup = f
         plugin.do_signal('term foo')
         self.assertEqual(called, [])