aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_register_captcha.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_register_captcha.py')
-rw-r--r--packages/meshbay-hub/tests/test_register_captcha.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_register_captcha.py b/packages/meshbay-hub/tests/test_register_captcha.py
index d319137..32663fe 100644
--- a/packages/meshbay-hub/tests/test_register_captcha.py
+++ b/packages/meshbay-hub/tests/test_register_captcha.py
@@ -17,7 +17,8 @@ def captcha_on(client, monkeypatch):
monkeypatch.setattr(_cfg.captcha, "site_key", "test-site")
monkeypatch.setattr(_cfg.captcha, "secret_key", "test-secret")
- async def fake_verify(secret, token, remote_ip=None, allowed_hosts=None):
+ async def fake_verify(secret, token, remote_ip=None, allowed_hosts=None,
+ allow_unattributed=False):
return token == "good-token"
monkeypatch.setattr("meshbay_hub.captcha.verify_captcha", fake_verify)