diff --git a/radicale/tests/test_auth.py b/radicale/tests/test_auth.py index 7385edbc..e7c8409d 100644 --- a/radicale/tests/test_auth.py +++ b/radicale/tests/test_auth.py @@ -32,6 +32,7 @@ from typing import Iterable, Tuple, Union import pytest from radicale import utils, xmlutils +from radicale.auth import htpasswd from radicale.tests import BaseTest @@ -42,7 +43,7 @@ class TestBaseAuthRequests(BaseTest): """ - BCRYPT_MAX_PWLEN = 72 + BCRYPT_MAX_PWLEN = htpasswd.Auth.BCRYPT_MAX_PWLEN # test for available bcrypt module try: