Explorar o código

Fixes security tests

Ask Solem %!s(int64=12) %!d(string=hai) anos
pai
achega
9c84d21ff3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'