--- a/pyproject.toml
+++ b/pyproject.toml
@@ -62,6 +62,7 @@
 
 [tool.coverage.run]
 branch = true
+omit = ["*/scantpaper/tests/*"]
 
 [tool.coverage.report]
 exclude_lines = [
