mirror of
https://github.com/wekan/wekan.git
synced 2026-01-15 14:08:51 +01:00
api_changes
This commit is contained in:
parent
04e92edb86
commit
f9dff3fc14
2 changed files with 14 additions and 7 deletions
|
|
@ -10,6 +10,8 @@ class TestUserLogin(unittest.TestCase):
|
|||
"password": "30fnhk03"
|
||||
}
|
||||
response = requests.post(url, json=payload)
|
||||
print("Status code:", response.status_code)
|
||||
print("Response JSON:", response.json())
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertIn("token", response.json())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue