From e0a76612f41ac9960cba2710489586f2d69a0ba7 Mon Sep 17 00:00:00 2001 From: Pascal Lais Date: Tue, 10 Mar 2020 12:41:48 +0100 Subject: [PATCH] Add test_setup.py This file makes sure that the test files in test/ can import the submodules. To run a single test file run: pytest test_setup.py test/test_module.py --- test_setup.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test_setup.py diff --git a/test_setup.py b/test_setup.py new file mode 100644 index 0000000..6fa72ae --- /dev/null +++ b/test_setup.py @@ -0,0 +1,2 @@ +import sys, os +sys.path.append(os.path.dirname(os.path.abspath(__file__)))