mirror of
https://github.com/wekan/wekan.git
synced 2026-02-18 14:08:06 +01:00
test
This commit is contained in:
parent
a2a19318fc
commit
b252bfeb9e
1 changed files with 2 additions and 1 deletions
|
|
@ -14,8 +14,9 @@ class TestBoard:
|
||||||
}
|
}
|
||||||
|
|
||||||
response = requests.post(f"{base_url}/users/login", data=login_data)
|
response = requests.post(f"{base_url}/users/login", data=login_data)
|
||||||
|
print(f"URL:{base_url}/users/login")
|
||||||
print(f"🔑 Login response status: {response.status_code}, body: {response.text}")
|
print(f"🔑 Login response status: {response.status_code}, body: {response.text}")
|
||||||
print("reposnr_JSON:", response.json())
|
print("response_JSON:", response.json())
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
json_response = response.json()
|
json_response = response.json()
|
||||||
if 'token' in json_response:
|
if 'token' in json_response:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue