From 17b4cba6d1a5f24b4de3b53f79b93dd409e28ccd Mon Sep 17 00:00:00 2001 From: tassaron Date: Tue, 26 Apr 2022 13:10:29 -0400 Subject: tests for commandline argument parsing --- src/tests/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tests/__init__.py') 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: -- cgit v1.2.3