Ask Solem %!s(int64=11) %!d(string=hai) anos
pai
achega
5bf8927b44
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      celery/tests/concurrency/test_prefork.py

+ 2 - 0
celery/tests/concurrency/test_prefork.py

@@ -233,6 +233,8 @@ class test_ResultHandler(PoolCase):
             on_job_ready=Mock(),
         )
         self.assertTrue(x)
+        hub = Mock(name='hub')
+        x.register_with_event_loop(hub)
         x.on_state_change = Mock()
         proc = x.fileno_to_outq[3] = Mock()
         reader = proc.outq._reader