Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
6706e220
Commit
6706e220
authored
Aug 05, 2020
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test in rest-gateway
parent
f0d7d0b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
manage_sys_paths.py
src/rest-gateway/app/tests/manage_sys_paths.py
+1
-1
test_blockchain_trace.py
src/rest-gateway/app/tests/test_blockchain_trace.py
+1
-1
No files found.
src/rest-gateway/app/tests/manage_sys_paths.py
View file @
6706e220
# add modules folder to interpreter path
import
sys
import
os
modules_paths
=
[
'../'
,
'../../../modules/'
]
modules_paths
=
[
'../'
,
'../../../modules/'
,
'../../modules'
]
for
path
in
modules_paths
:
if
os
.
path
.
exists
(
path
):
sys
.
path
.
insert
(
1
,
path
)
src/rest-gateway/app/tests/test_blockchain_trace.py
View file @
6706e220
...
...
@@ -5,7 +5,7 @@ from messaging.DummyMessageManager import DummyMessageManager
# init dummy message manager so no connection to rabbitmq is established
_
=
DummyMessageManager
.
get_instance
()
import
r
est
.blockchain_trace
as
blockchain_trace
import
r
outes
.blockchain_trace
as
blockchain_trace
class
Test_BlockchainTrace
(
unittest
.
TestCase
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment