MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / test_basic

Function test_basic

tests/test_qs.py:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def test_basic() -> None:
17 assert stringify({"a": 1}) == "a=1"
18 assert stringify({"a": "b"}) == "a=b"
19 assert stringify({"a": True}) == "a=true"
20 assert stringify({"a": False}) == "a=false"
21 assert stringify({"a": 1.23456}) == "a=1.23456"
22 assert stringify({"a": None}) == ""
23
24
25@pytest.mark.parametrize("method", ["class", "function"])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected