Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rjambrecic committed Nov 28, 2024
1 parent 925c857 commit c38bccc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/api/openapi/test_end2end.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,13 @@ def create_item_items__post() -> dict[str, Any]:

client.set_function(create_item_items__post.__name__, create_item_items__post)

def test_get_functions(self, client: OpenAPI) -> None:
with pytest.raises(
expected_exception=DeprecationWarning,
match="Use function_names property instead of get_functions method",
):
client.get_functions()

def test_register_for_execution(
self, client: OpenAPI, azure_gpt35_turbo_16k_llm_config: dict[str, Any]
) -> None:
Expand Down

0 comments on commit c38bccc

Please sign in to comment.