mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
passlib: use hash() instead of deprecated encrypt()
This commit is contained in:
parent
94bb4fbdae
commit
1a26df865c
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ class TestBaseAuthRequests(BaseTest):
|
|||
except ImportError:
|
||||
pytest.skip("passlib is not installed")
|
||||
try:
|
||||
bcrypt.encrypt("test-bcrypt-backend")
|
||||
bcrypt.hash("test-bcrypt-backend")
|
||||
except MissingBackendError:
|
||||
pytest.skip("bcrypt backend for passlib is not installed")
|
||||
self._test_htpasswd(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue