From 9066712dca21ef35c534e068f2cc4fefdccf1ea3 Mon Sep 17 00:00:00 2001 From: Michael Trier Date: Wed, 7 May 2008 22:37:17 -0400 Subject: Moved test stuff around and modified imports to just clean things up a bit. --- test/testlib/helper.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/testlib/helper.py (limited to 'test/testlib/helper.py') diff --git a/test/testlib/helper.py b/test/testlib/helper.py new file mode 100644 index 00000000..19cff8f5 --- /dev/null +++ b/test/testlib/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