WIP: init testing #2
@@ -7,7 +7,7 @@ import os
|
|||||||
# The router is included in the main app, so we test through it.
|
# The router is included in the main app, so we test through it.
|
||||||
# We need to adjust the python path for imports to work correctly
|
# We need to adjust the python path for imports to work correctly
|
||||||
import sys
|
import sys
|
||||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'app')))
|
||||||
|
|
||||||
from app.node_main import app
|
from app.node_main import app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user