mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Bump Dependencies (#2332)
* Bump dependencies * Closes #2300 * Closes #2331
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from unittest.mock import Mock, patch
|
||||
from uuid import UUID
|
||||
|
||||
from mock import Mock, patch
|
||||
|
||||
from tests.helpers import create_ctfd, destroy_ctfd, login_as_user, register_user
|
||||
|
||||
|
||||
@@ -40,7 +39,7 @@ def test_session_invalidation_on_admin_password_change():
|
||||
r = user.get("/settings")
|
||||
# User's password was changed
|
||||
# They should be logged out
|
||||
assert r.location.startswith("http://localhost/login")
|
||||
assert r.location.startswith("/login")
|
||||
assert r.status_code == 302
|
||||
destroy_ctfd(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user