Skip to content

Commit

Permalink
Coverage (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Aug 14, 2024
1 parent 741841f commit 8853697
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# .coveragerc to control coverage.py
[run]
branch = True

[report]
exclude_also =
if TYPE_CHECKING
assert False
: \.\.\.(\s*#.*)?$
^ +\.\.\.$
2 changes: 1 addition & 1 deletion tests/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ async def list_polls(request: web.Request) -> APIResponse[tuple[Poll, ...], Lite
long
description.
"""
return APIResponse((POLL1,))
return APIResponse((POLL1,)) # pragma: no cover

app = web.Application()
schema_gen.setup(app)
Expand Down

0 comments on commit 8853697

Please sign in to comment.