MCPcopy
hub / github.com/openai/openai-python / test_method_list

Method test_method_list

tests/api_resources/test_files.py:111–113  ·  view source on GitHub ↗
(self, client: OpenAI)

Source from the content-addressed store, hash-verified

109
110 @parametrize
111 def test_method_list(self, client: OpenAI) -> None:
112 file = client.files.list()
113 assert_matches_type(SyncCursorPage[FileObject], file, path=["response"])
114
115 @parametrize
116 def test_method_list_with_all_params(self, client: OpenAI) -> None:

Callers

nothing calls this directly

Calls 2

assert_matches_typeFunction · 0.90
listMethod · 0.45

Tested by

no test coverage detected