Commit 09582cf4 authored by Alexander Lercher's avatar Alexander Lercher

Fixed tests

parent f140e2c9
...@@ -15,7 +15,7 @@ basePath: "/api" ...@@ -15,7 +15,7 @@ basePath: "/api"
paths: paths:
/debug: /debug:
post: post:
operationId: "rest.debug.echo" operationId: "routes.debug.echo"
tags: tags:
- "Echo" - "Echo"
summary: "Echo function for debugging purposes" summary: "Echo function for debugging purposes"
...@@ -32,7 +32,7 @@ paths: ...@@ -32,7 +32,7 @@ paths:
/trace: /trace:
post: post:
operationId: "rest.blockchain_trace.post" operationId: "routes.blockchain_trace.post"
tags: tags:
- "Blockchain Trace" - "Blockchain Trace"
summary: "Add a new blockchain trace to SMART" summary: "Add a new blockchain trace to SMART"
...@@ -50,7 +50,7 @@ paths: ...@@ -50,7 +50,7 @@ paths:
400: 400:
description: "Invalid input" description: "Invalid input"
get: get:
operationId: "rest.blockchain_trace.get" operationId: "routes.blockchain_trace.get"
tags: tags:
- "Blockchain Trace" - "Blockchain Trace"
summary: "Get blockchain traces" summary: "Get blockchain traces"
......
# 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):
print(path)
sys.path.insert(1, path) sys.path.insert(1, path)
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