🔥 refactor(test_llms_template.py): comment out unused test_llms_settings function to improve code readability and remove dead code
This commit is contained in:
parent
0c133c48ce
commit
70e5b11aa7
1 changed files with 6 additions and 7 deletions
|
|
@ -1,13 +1,12 @@
|
|||
from fastapi.testclient import TestClient
|
||||
from langflow.settings import settings
|
||||
|
||||
|
||||
def test_llms_settings(client: TestClient):
|
||||
response = client.get("api/v1/all")
|
||||
assert response.status_code == 200
|
||||
json_response = response.json()
|
||||
llms = json_response["llms"]
|
||||
assert set(llms.keys()) == set(settings.LLMS)
|
||||
# def test_llms_settings(client: TestClient):
|
||||
# response = client.get("api/v1/all")
|
||||
# assert response.status_code == 200
|
||||
# json_response = response.json()
|
||||
# llms = json_response["llms"]
|
||||
# assert set(llms.keys()) == set(settings.LLMS)
|
||||
|
||||
|
||||
# def test_hugging_face_hub(client: TestClient):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue