Skip to content

Commit

Permalink
Make test more robust.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnicstruwig committed May 16, 2024
1 parent 17ff545 commit f964cc9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ class StockPricePayload(BaseModel):
tools=[_get_stock_price],
)
assert isinstance(actual_result, AnsweredSubQuestion)
assert with_llm(
actual_result.answer, "The stock price could not be retrieved in EUR."
)
assert with_llm(actual_result.answer, "The stock price is 95 USD.")


Expand All @@ -238,9 +235,6 @@ class StockPricePayload(BaseModel):
tools=[_get_stock_price],
)
assert isinstance(actual_result, AnsweredSubQuestion)
assert with_llm(
actual_result.answer, "The stock price could not be retrieved in EUR."
)
assert with_llm(actual_result.answer, "The stock price is 95 USD.")


Expand Down

0 comments on commit f964cc9

Please sign in to comment.