Move the pythonpath fiddling to the test runner

instead of including it in every test
This commit is contained in:
Joe Rickerby
2019-04-22 23:13:34 +01:00
parent 8b632bcb6d
commit 857aafbd3f
9 changed files with 27 additions and 19 deletions
+1 -3
View File
@@ -1,11 +1,9 @@
import subprocess, sys, os
from glob import glob
project_dir = os.path.dirname(__file__)
sys.path.append(os.path.join(os.path.dirname(project_dir), 'shared'))
import utils
def test():
project_dir = os.path.dirname(__file__)
# set up the environment
env = os.environ.copy()
env['CIBW_TEST_REQUIRES'] = 'nose'