summaryrefslogtreecommitdiff
path: root/test/helper.py
blob: 082e57e560335105e26c0224addd6f738a7dbfad (plain)
1
2
3
4
5
6
7
8
9
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__), ".."))