mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed server mode api test case failure.
This commit is contained in:
committed by
Akshay Joshi
parent
9574f43f87
commit
cfb68d73a0
@@ -76,6 +76,10 @@ class TestClient(testing.FlaskClient):
|
||||
b' value="([^"]*)">', res.data
|
||||
)
|
||||
|
||||
if m is None:
|
||||
# When login through Kerberos, we won't find the CSRF
|
||||
return None
|
||||
|
||||
return m.group(1).decode("utf-8")
|
||||
|
||||
def generate_csrf_token(self, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user