Closed
Description
A combination of django
, pytest
, pytest-cov
, django-coverage-plugin
and pytest-django
seems to interact with each other causing CoverageException
when tests execute code that renders templates. My guess is it's somewhere in django-coverage-plugin
as disabling it, removes the exception.
I created an example Django project that exhibits this issue: https://github.com/suda/pytest_django_coverage_test
Not sure if it's a bug or misconfiguration but I hope this repo will be useful for figuring out the root cause 😊
Metadata
Metadata
Assignees
Labels
No labels