Explorar o código

Fixed broken test (test_worker.py)

Ask Solem %!s(int64=14) %!d(string=hai) anos
pai
achega
75deb54ba5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/tests/test_worker.py

+ 1 - 1
celery/tests/test_worker.py

@@ -480,7 +480,7 @@ class test_WorkController(unittest.TestCase):
         conf.DISABLE_RATE_LIMITS = True
         try:
             worker = WorkController(concurrency=1, loglevel=0)
-            self.assertIsInstance(worker.ready_queue, FastQueue)
+            self.assertTrue(hasattr(worker.ready_queue, "put"))
         finally:
             conf.DISABLE_RATE_LIMITS = False