mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
ci(backend): added tests for user
This commit is contained in:
parent
1e00f6929f
commit
ec60d3dbff
@ -7,7 +7,12 @@ def test_get_user_info(client, api_key):
|
||||
|
||||
# Assert that the response contains the expected fields
|
||||
user_info = response.json()
|
||||
print(user_info)
|
||||
assert "email" in user_info
|
||||
assert "max_brain_size" in user_info
|
||||
assert "current_brain_size" in user_info
|
||||
assert "date" in user_info
|
||||
assert "is_premium" in user_info
|
||||
assert "models" in user_info
|
||||
assert "requests_stats" in user_info
|
||||
assert "id" in user_info
|
||||
|
Loading…
Reference in New Issue
Block a user