mirror of https://github.com/tiangolo/fastapi.git
Exclude manual test runner from coverage
This commit is contained in:
parent
831fd18892
commit
70bd7a592e
|
|
@ -53,7 +53,7 @@ def test_openapi_schema():
|
|||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if __name__ == "__main__": # pragma: no cover
|
||||
test_annotated_forward_ref()
|
||||
test_openapi_schema()
|
||||
print("All tests passed!")
|
||||
|
|
|
|||
Loading…
Reference in New Issue