Home / Function/ test_basic() — anthropic-sdk-python Function Reference

test_basic() — anthropic-sdk-python Function Reference

Architecture documentation for the test_basic() function in test_qs.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  8db9e464_e2e0_c9b2_d005_453d19962b85["test_basic()"]
  f0b34a63_809b_7308_2411_fc88725d50fa["test_qs.py"]
  8db9e464_e2e0_c9b2_d005_453d19962b85 -->|defined in| f0b34a63_809b_7308_2411_fc88725d50fa
  style 8db9e464_e2e0_c9b2_d005_453d19962b85 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_qs.py lines 16–22

def test_basic() -> None:
    assert stringify({"a": 1}) == "a=1"
    assert stringify({"a": "b"}) == "a=b"
    assert stringify({"a": True}) == "a=true"
    assert stringify({"a": False}) == "a=false"
    assert stringify({"a": 1.23456}) == "a=1.23456"
    assert stringify({"a": None}) == ""

Subdomains

Defined In

Frequently Asked Questions

What does test_basic() do?
test_basic() is a function in the anthropic-sdk-python codebase, defined in tests/test_qs.py.
Where is test_basic() defined?
test_basic() is defined in tests/test_qs.py at line 16.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free