aboutsummaryrefslogtreecommitdiff
path: root/src/tests/__init__.py
diff options
context:
space:
mode:
authortassaron2022-04-26 13:10:29 -0400
committertassaron2022-04-26 13:10:29 -0400
commit17b4cba6d1a5f24b4de3b53f79b93dd409e28ccd (patch)
tree77bc1cfe57e4e756b0a56833bb2784b0c7ee630b /src/tests/__init__.py
parentfe3251c528df7eff51be6ecbb18261990b524944 (diff)
tests for commandline argument parsing
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: