diff --git a/webchat/settings.py b/webchat/settings.py index 9fe9ab3..bf72e6a 100755 --- a/webchat/settings.py +++ b/webchat/settings.py @@ -152,5 +152,5 @@ try: import git GIT_HASH = git.Repo(search_parent_directories=True).head.object.hexsha -except Exception: +except Exception: # pragma: nocover GIT_HASH = '' diff --git a/webchat/tests.py b/webchat/tests.py index 30330db..20de4d5 100644 --- a/webchat/tests.py +++ b/webchat/tests.py @@ -1,4 +1,5 @@ import mock + from django.urls import reverse from django.test import TestCase