Procházet zdrojové kódy

Fixes security tests

Ask Solem před 12 roky
rodič
revize
9c84d21ff3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      celery/tests/security/test_security.py

+ 1 - 1
celery/tests/security/test_security.py

@@ -77,7 +77,7 @@ class test_security(SecurityCase):
             store = Mock()
             setup_security(['json'], key, cert, store)
             dis.assert_called_with(['json'])
-            reg.assert_called_with('A', 'B', store)
+            reg.assert_called_with('A', 'B', store, 'sha1', 'json')
 
     def test_security_conf(self):
         current_app.conf.CELERY_TASK_SERIALIZER = 'auth'