diff --git a/DirectReport/tests/test_commandline.py b/DirectReport/tests/test_commandline.py index bfc4e095..5e26cda0 100644 --- a/DirectReport/tests/test_commandline.py +++ b/DirectReport/tests/test_commandline.py @@ -6,7 +6,14 @@ import tempfile import pytest import os +import sys +from pathlib import Path +file = Path(__file__).resolve() +package_root_directory = file.parents[1] +sys.path.append(str(package_root_directory)) + +sys.path.append('.') runner = CliRunner()