diff --git a/django_coverage_plugin/plugin.py b/django_coverage_plugin/plugin.py index 41a091c..72b48e6 100644 --- a/django_coverage_plugin/plugin.py +++ b/django_coverage_plugin/plugin.py @@ -365,7 +365,7 @@ def lines(self): continue if extends and not inblock: - # In an inheriting tempalte, ignore all tags outside of + # In an inheriting template, ignore all tags outside of # blocks. continue diff --git a/tests/plugin_test.py b/tests/plugin_test.py index 5e035ed..1798971 100644 --- a/tests/plugin_test.py +++ b/tests/plugin_test.py @@ -45,6 +45,9 @@ def test_settings(): 'DIRS': ['templates'], # where the tests put things. 'OPTIONS': { 'debug': True, + 'loaders': [ + 'django.template.loaders.filesystem.Loader', + ] }, }, ],