Skip to content

Commit

Permalink
Revert a minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
bonk1t committed Feb 26, 2025
1 parent ed5fc7f commit b746634
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_tool_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,7 @@ async def gather_output():

print(output)

# Since the OpenAPI schema doesn't specify the exact response format,
# we should only verify that we got a valid JSON response
self.assertIsInstance(output, dict)
self.assertTrue(len(output) > 0, "Expected non-empty response")
assert output["output"]["transformed"]["data"] == "test complete."

def test_get_headers_openapi_schema(self):
with open("./data/schemas/get-headers-params.json", "r") as f:
Expand Down

0 comments on commit b746634

Please sign in to comment.