Commit 6706e220 authored by Alexander Lercher's avatar Alexander Lercher

Fixed test in rest-gateway

parent f0d7d0b4
# add modules folder to interpreter path # add modules folder to interpreter path
import sys import sys
import os import os
modules_paths = ['../', '../../../modules/'] modules_paths = ['../', '../../../modules/', '../../modules']
for path in modules_paths: for path in modules_paths:
if os.path.exists(path): if os.path.exists(path):
sys.path.insert(1, path) sys.path.insert(1, path)
...@@ -5,7 +5,7 @@ from messaging.DummyMessageManager import DummyMessageManager ...@@ -5,7 +5,7 @@ from messaging.DummyMessageManager import DummyMessageManager
# init dummy message manager so no connection to rabbitmq is established # init dummy message manager so no connection to rabbitmq is established
_ = DummyMessageManager.get_instance() _ = DummyMessageManager.get_instance()
import rest.blockchain_trace as blockchain_trace import routes.blockchain_trace as blockchain_trace
class Test_BlockchainTrace(unittest.TestCase): class Test_BlockchainTrace(unittest.TestCase):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment