WIP: init testing #2

Draft
logan wants to merge 7 commits from implement-unit-testing into main
Showing only changes of commit 80f5eb3f50 - Show all commits

View File

@@ -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