MCPcopy Index your code
hub / github.com/fastapi/fastapi / test_default_placeholder_bool

Function test_default_placeholder_bool

tests/test_datastructures.py:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def test_default_placeholder_bool():
24 placeholder_a = Default("a")
25 placeholder_b = Default("")
26 assert placeholder_a
27 assert not placeholder_b
28
29
30def test_upload_file_is_closed(tmp_path: Path):

Callers

nothing calls this directly

Calls 1

DefaultFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…