diff --git a/backend/.coveragerc b/backend/.coveragerc index d91a645..06e2501 100644 --- a/backend/.coveragerc +++ b/backend/.coveragerc @@ -1,5 +1,6 @@ [run] source = app +concurrency = thread,greenlet omit = # Migration files - these are generated code and shouldn't be tested app/alembic/versions/* @@ -61,6 +62,10 @@ exclude_lines = # Pass statements (often in abstract base classes or placeholders) pass + # Skip test environment checks (production-only code) + if os\.getenv\("IS_TEST".*\) == "True": + if os\.getenv\("IS_TEST".*\) != "True": + [html] directory = htmlcov