Add hack to add in root path to python paths

(cherry picked from commit 1068c41)
This commit is contained in:
Ebag333
2017-03-22 01:10:55 -07:00
parent 403b39659c
commit 75df133071

View File

@@ -1,6 +1,13 @@
# noinspection PyPackageRequirements
import pytest
import os
import sys
script_dir = os.path.dirname(os.path.abspath(__file__))
# Add root folder to python paths
sys.path.append(os.path.realpath(os.path.join(script_dir, '..', '..')))
# noinspection PyUnresolvedReferences,PyUnusedLocal
@pytest.fixture