Add test_setup.py
All checks were successful
continuous-integration/drone/push Build is passing

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
This commit is contained in:
2020-03-10 12:41:48 +01:00
parent a94c5f9840
commit e0a76612f4

2
test_setup.py Normal file
View File

@@ -0,0 +1,2 @@
import sys, os
sys.path.append(os.path.dirname(os.path.abspath(__file__)))