MCPcopy
hub / github.com/fastapi/fastapi / test_default_placeholder_equals

Function test_default_placeholder_equals

tests/test_datastructures.py:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def test_default_placeholder_equals():
17 placeholder_1 = cast(DefaultPlaceholder, Default("a"))
18 placeholder_2 = cast(DefaultPlaceholder, Default("a"))
19 assert placeholder_1 == placeholder_2
20 assert placeholder_1.value == placeholder_2.value
21
22
23def test_default_placeholder_bool():

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…