aboutsummaryrefslogtreecommitdiff
path: root/src/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/__init__.py')
-rw-r--r--src/tests/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/__init__.py b/src/tests/__init__.py
index f2b2ff1..062dca7 100644
--- a/src/tests/__init__.py
+++ b/src/tests/__init__.py
@@ -16,6 +16,10 @@ def command():
return Command()
+def getTestData(filename):
+ return os.path.join(Core.wd, 'tests', 'data', filename)
+
+
def run(logFile):
"""Run Pytest, which then imports and runs all tests in this module."""
with open(logFile, "w") as f: