Fix `has_git_requirements` check in tests

This commit is contained in:
Matt Robenolt 2015-07-06 23:00:36 -04:00
parent 304faee8b1
commit ceff7c96f2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ from raven.utils import six
def has_git_requirements():
return os.path.join(settings.PROJECT_ROOT, '.git', 'refs', 'heads', 'master')
return os.path.exists(os.path.join(settings.PROJECT_ROOT, '.git', 'refs', 'heads', 'master'))
@pytest.mark.skipif('not has_git_requirements()')