Skip to content

Commit

Permalink
Ignore missing test coverage on import error from GitPython
Browse files Browse the repository at this point in the history
  • Loading branch information
dhedegaard committed Dec 27, 2017
1 parent 144af4f commit 7beb550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion webchat/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
1 change: 1 addition & 0 deletions webchat/tests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import mock

from django.urls import reverse
from django.test import TestCase

Expand Down

0 comments on commit 7beb550

Please sign in to comment.