diff options
author | Michael Trier <mtrier@gmail.com> | 2008-05-07 16:49:48 -0400 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-05-07 16:49:48 -0400 |
commit | 33ebe7acec14b25c5f84f35a664803fcab2f7781 (patch) | |
tree | 960b40fe368a9882221bcdd8635b9080dec01ec6 /test/helper.py | |
download | gitpython-33ebe7acec14b25c5f84f35a664803fcab2f7781.tar.gz |
initial project
Diffstat (limited to 'test/helper.py')
-rw-r--r-- | test/helper.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/helper.py b/test/helper.py new file mode 100644 index 00000000..082e57e5 --- /dev/null +++ b/test/helper.py @@ -0,0 +1,10 @@ +import os + +GIT_REPO = os.path.join(os.path.dirname(__file__), "..") + +def fixture(name): + file = open(os.path.join(os.path.dirname(__file__), "fixtures", name)) + return file.read() + +def absolute_project_path(): + return os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
\ No newline at end of file |