Skip to content
Snippets Groups Projects
Commit 0326ccd0 authored by yamijuan's avatar yamijuan
Browse files

Exclude exception from coverage

parent 361baea4
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:
else: # noqa
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