Files
2022-05-05 18:25:55 +02:00

38 lines
957 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[report]
# The test coverage you require, keeping to 100% is not easily
# possible for all projects but its a good default for new projects.
fail_under = 100
# These functions are generally only needed for debugging and/or
# extra safety so we want to ignore them from the coverage
# requirements
exclude_lines =
# Make it possible to ignore blocks of code
pragma: no cover
# Generally only debug code uses this
def __repr__
# If a debug setting is set, skip testing
if self\.debug:
if settings.DEBUG
# Dont worry about safety checks and expected errors
raise AssertionError
raise NotImplementedError
# Do not complain about code that will never run
if 0:
if __name__ == .__main__.:
@abc.abstractmethod
[run]
# Make sure we require that all branches of the code is covered.
# So both the if and the else
branch = True
# No need to require coverage of testing code
omit =
test_*.py