Skip to content

Commit

Permalink
Merge pull request #648 from opensafely-core/coverage
Browse files Browse the repository at this point in the history
Omit docs screenshot tests from coverage
  • Loading branch information
rebkwok authored Sep 3, 2024
2 parents a34401d + 49a3e40 commit 308e089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ plugins = ["django_coverage_plugin"]
omit = [
"*/assets/*",
"airlock/lib/git.py",
"tests/functional/test_docs_screenshots.py",
]


Expand Down
2 changes: 1 addition & 1 deletion tests/functional/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def screenshot_element_with_padding(
page, element_locator, filename, extra=None, crop=None
):
): # pragma: no cover
"""
Take a screenshot with 10px padding around an element.
Expand Down

0 comments on commit 308e089

Please sign in to comment.