| commit | c682b5074963e7c7e25040542ec62243e8d38a2a | [log] [tgz] |
|---|---|---|
| author | gkisel <gkisel@truecar.com> | Wed Jan 07 14:07:32 2015 -0800 |
| committer | gkisel <gkisel@truecar.com> | Mon Jan 12 15:38:22 2015 -0800 |
| tree | 42876cb9b4ae091afcc6d973c496afa9d95916e2 | |
| parent | b08f834d65fed15e25cbe3073df7ff457459801a [diff] [blame] |
Add check_case_conflict hook #21
diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..157da6b --- /dev/null +++ b/tests/conftest.py
@@ -0,0 +1,13 @@ +from __future__ import absolute_import +from __future__ import print_function +from __future__ import unicode_literals + +import pytest +from plumbum import local + + +@pytest.yield_fixture +def temp_git_dir(tmpdir): + git_dir = tmpdir.join('gits').strpath + local['git']('init', git_dir) + yield git_dir