Browse Source

Fixes security tests

Ask Solem 12 years ago
parent
commit
9c84d21ff3
1 changed files with 1 additions and 1 deletions
  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()
             store = Mock()
             setup_security(['json'], key, cert, store)
             setup_security(['json'], key, cert, store)
             dis.assert_called_with(['json'])
             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):
     def test_security_conf(self):
         current_app.conf.CELERY_TASK_SERIALIZER = 'auth'
         current_app.conf.CELERY_TASK_SERIALIZER = 'auth'