diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2015-02-07 11:14:03 -0500 |
---|---|---|
committer | Yaroslav Halchenko <debian@onerussian.com> | 2015-02-07 11:14:03 -0500 |
commit | d7729245060f9aecfef4544f91e2656aa8d483ec (patch) | |
tree | 2b3223700e93399140b9b9a41494fdd44496d591 /git/test/lib/helper.py | |
parent | d8bbfea4cdcb36ce0e9ee7d7cad4c41096d4d54f (diff) | |
download | gitpython-d7729245060f9aecfef4544f91e2656aa8d483ec.tar.gz |
ENH: respect GIT_PYTHON_TEST_GIT_REPO_BASE env var in tests
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r-- | git/test/lib/helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index 8300f272..5efb7d9d 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -15,7 +15,7 @@ import io from git import Repo, Remote, GitCommandError, Git from git.compat import string_types -GIT_REPO = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) +GIT_REPO = os.environ.get("GIT_PYTHON_TEST_GIT_REPO_BASE", os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))) __all__ = ( 'fixture_path', 'fixture', 'absolute_project_path', 'StringProcessAdapter', |