瀏覽代碼

Fixes security tests

Ask Solem 12 年之前
父節點
當前提交
9c84d21ff3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'