Skip to content

Commit

Permalink
Merge pull request #156 from feldroy/feldroy/django-crash-course/issu…
Browse files Browse the repository at this point in the history
…es/329

Fix coverage.py + django_coverage_plugin unexpected warning message
  • Loading branch information
luzfcb committed Sep 10, 2020
2 parents 4f97300 + deadc64 commit e5380b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,10 @@
# Change Log
All enhancements and patches to Cookiecutter Django will be documented in this file.

## [2020-09-10]
### Changed
- Added a workaround on config/settings/test.py to fix the coverage.py + django_coverage_plugin "Can't add file tracer data for unmeasured file" warning message (https://github.com/feldroy/django-crash-course/issues/329) - [@luzfcb](https://github.com/luzfcb)

## [2020-09-09]
### Changed
- Removed env.sample file - [@luzfcb](https://github.com/luzfcb)
Expand Down
4 changes: 4 additions & 0 deletions {{cookiecutter.project_slug}}/config/settings/test.py
Expand Up @@ -43,6 +43,10 @@
],
)
]
# Workaround to:
# https://github.com/nedbat/coveragepy/issues/1011
# https://github.com/nedbat/django_coverage_plugin/issues/69
TEMPLATES[-1]["OPTIONS"]["debug"] = True # type: ignore[index] # noqa: F405

# EMAIL
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit e5380b8

Please sign in to comment.