customercare / tests /test_agent.py
sakthi07's picture
Local successful ready for huggingface deployment
3b362b1
raw
history blame contribute delete
179 Bytes
from agent.workflow import handle_query
def test_basic_query():
response = handle_query("admin", "How many orders are cancelled?")
assert "cancelled" in response.lower()