Skip to content

Commit

Permalink
Merge pull request #2127 from MIT-LCP/django-template-coverage
Browse files Browse the repository at this point in the history
Report test coverage for Django templates
  • Loading branch information
tompollard authored Nov 8, 2023
2 parents ca267f2 + b5e970c commit cece757
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 131 deletions.
5 changes: 5 additions & 0 deletions physionet-django/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[run]
plugins = django_coverage_plugin

[django_coverage_plugin]
template_extensions = html, txt, json, xml
1 change: 1 addition & 0 deletions physionet-django/physionet/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
'sso.context_processors.sso_enabled',
'physionet.context_processors.cloud_research_environments_config',
],
'debug': DEBUG,
},
},
]
Expand Down
Loading

0 comments on commit cece757

Please sign in to comment.