MCPcopy Create free account
hub / github.com/openai/openai-agents-python / test_instance_method

Function test_instance_method

tests/test_doc_parsing.py:103–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def test_instance_method() -> None:
104 bar = Bar()
105 doc = generate_func_documentation(bar.func_bar)
106 assert doc.name == "func_bar"
107 assert doc.description == "This is func_bar."
108 assert doc.param_descriptions == {"a": "The first argument.", "b": "The second argument."}
109
110
111def test_classmethod() -> None:

Callers

nothing calls this directly

Calls 2

BarClass · 0.70

Tested by

no test coverage detected