From 33ebe7acec14b25c5f84f35a664803fcab2f7781 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Wed, 7 May 2008 16:49:48 -0400 Subject: initial project --- test/helper.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/helper.py (limited to 'test/helper.py') 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 -- cgit v1.2.3