Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed Nov 13, 2024
1 parent 6978d31 commit f283836
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ def test_function_list():
response = client.get(url=f"{base_url}/functions")
assert response.status_code == 200
result = response.json()
assert len(result) == 368
the_func = next(filter(lambda x: x["name"] == "ABS", result))
assert len(result) == 302
the_func = next(filter(lambda x: x["name"] == "abs", result))
assert the_func == {
"name": "ABS",
"name": "abs",
"description": "Returns the absolute value of a number.",
"function_type": "scalar",
"param_names": None,
Expand Down

0 comments on commit f283836

Please sign in to comment.