Added project root path to sys.path for test suite
This commit is contained in:
+3
-1
@@ -2,9 +2,11 @@
|
||||
"""novelWriter Test Config
|
||||
"""
|
||||
|
||||
import pytest, shutil
|
||||
import sys, pytest, shutil
|
||||
from os import path, mkdir
|
||||
|
||||
sys.path.insert(1, path.abspath(path.join(path.dirname(__file__), path.pardir)))
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def nwTemp():
|
||||
testDir = path.dirname(__file__)
|
||||
|
||||
Reference in New Issue
Block a user