api_changes

This commit is contained in:
rabeeafaraj 2025-08-09 21:22:54 +03:00
parent 04e92edb86
commit f9dff3fc14
2 changed files with 14 additions and 7 deletions

View file

@ -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())