Skip to content

Commit

Permalink
Fix has_git_requirements check in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobenolt committed Jul 7, 2015
1 parent 304faee commit ceff7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/versioning/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


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()')
Expand Down

0 comments on commit ceff7c9

Please sign in to comment.