Skip to content
Snippets Groups Projects
Commit 6630e78b authored by yamijuan's avatar yamijuan
Browse files

Changed # noqa to # pragma: no cover

parent 0326ccd0
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ def clean_app_config(app_path):
new_app = '.'.join(app_split[:-2])
if new_app in apps_names:
return new_app
else: # noqa
else: # pragma: no cover
raise ImproperlyConfigured(
"The application {0} is not in the configured apps or does" +
"not have the pattern app.apps.AppConfig".format(app_path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment