mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-24 20:03:41 +03:00
ee864e6441
Added tests for: - Prompt - Misc - Onboarding
8 lines
231 B
Python
8 lines
231 B
Python
def test_get_public_prompts(client, api_key):
|
|
response = client.get(
|
|
"/prompts",
|
|
headers={"Authorization": "Bearer " + api_key},
|
|
)
|
|
assert response.status_code == 200
|
|
assert len(response.json()) == 0
|