MCPcopy
hub / github.com/open-webui/mcpo / test_process_simple_number

Function test_process_simple_number

src/mcpo/tests/test_main.py:56–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54
55
56def test_process_simple_number():
57 schema = {"type": "number"}
58 expected_type = float
59 expected_field = Field(default=..., description="")
60 result_type, result_field = _process_schema_property(
61 _model_cache, schema, "test", "prop", True
62 )
63 assert result_type == expected_type
64 assert result_field.default == expected_field.default
65
66
67def test_process_null():

Callers

nothing calls this directly

Calls 1

_process_schema_propertyFunction · 0.90

Tested by

no test coverage detected