feat: added agents tests
This commit is contained in:
parent
ebb78f34aa
commit
59baa407d2
2 changed files with 185 additions and 0 deletions
|
|
@ -1,4 +1,13 @@
|
|||
from fastapi.testclient import TestClient
|
||||
from langflow.settings import settings
|
||||
|
||||
|
||||
def test_chains_settings(client: TestClient):
|
||||
response = client.get("/all")
|
||||
assert response.status_code == 200
|
||||
json_response = response.json()
|
||||
chains = json_response["chains"]
|
||||
assert set(chains.keys()) == set(settings.chains)
|
||||
|
||||
|
||||
# Test the ConversationChain object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue