fix(qa11): use production admin credentials
Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled
Some checks failed
Aegis CI / lint-and-test (push) Has been cancelled
This commit is contained in:
@@ -29,7 +29,7 @@ def check(label: str, condition: bool, detail: str = ""):
|
|||||||
print(msg)
|
print(msg)
|
||||||
|
|
||||||
|
|
||||||
def get_token(username="admin", password="admin123"):
|
def get_token(username="administrator", password="7qjmSz72MpVjyvewN8Gto4mm"):
|
||||||
# Auth router uses OAuth2PasswordRequestForm (form data)
|
# Auth router uses OAuth2PasswordRequestForm (form data)
|
||||||
r = requests.post(f"{BASE}/auth/login",
|
r = requests.post(f"{BASE}/auth/login",
|
||||||
data={"username": username, "password": password})
|
data={"username": username, "password": password})
|
||||||
|
|||||||
Reference in New Issue
Block a user