mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +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
|