refactor settings
This commit is contained in:
parent
8590ba7d1d
commit
b81b596b55
23 changed files with 109 additions and 89 deletions
|
|
@ -7,7 +7,7 @@ def test_prompts_settings(client: TestClient):
|
|||
assert response.status_code == 200
|
||||
json_response = response.json()
|
||||
prompts = json_response["prompts"]
|
||||
assert set(prompts.keys()) == set(settings.prompts)
|
||||
assert set(prompts.keys()) == set(settings.PROMPTS)
|
||||
|
||||
|
||||
def test_prompt_template(client: TestClient):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue