1 changed files with 8 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||
|
from fastapi.dependencies.utils import get_typed_annotation |
||||
|
|
||||
|
|
||||
|
def test_get_typed_annotation(): |
||||
|
# For coverage |
||||
|
annotation = "None" |
||||
|
typed_annotation = get_typed_annotation(annotation, globals()) |
||||
|
assert typed_annotation is None |
||||
Loading…
Reference in new issue