Fix test path
Some checks failed
Python Application Tests / build (3.13) (pull_request) Failing after 8s
Some checks failed
Python Application Tests / build (3.13) (pull_request) Failing after 8s
This commit is contained in:
@@ -7,7 +7,7 @@ import os
|
||||
# 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
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user