Debian Codegraph @

tests/test_dependencies_utils.py

raw
1 from fastapi.dependencies.utils import get_typed_annotation
2
3
4 def test_get_typed_annotation():
5 # For coverage
6 annotation = "None"
7 typed_annotation = get_typed_annotation(annotation, globals())
8 assert typed_annotation is None