Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Klaus Wölfel
slapos.toolbox
Commits
a411a3c0
Commit
a411a3c0
authored
Sep 10, 2019
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qa: fix a py3 bug in TestCheckNeoHealth
parent
4296270b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
slapos/test/promise/plugin/test_check_neo_health.py
slapos/test/promise/plugin/test_check_neo_health.py
+3
-0
No files found.
slapos/test/promise/plugin/test_check_neo_health.py
View file @
a411a3c0
...
@@ -84,6 +84,9 @@ BACKINGUP; OUT_OF_DATE=1, UP_TO_DATE=3; ltid=03d17cd516db69db (2019-08-02 13:09:
...
@@ -84,6 +84,9 @@ BACKINGUP; OUT_OF_DATE=1, UP_TO_DATE=3; ltid=03d17cd516db69db (2019-08-02 13:09:
def
test_critical
(
self
):
def
test_critical
(
self
):
message
=
self
.
runPromise
(
"ERROR: not connected"
,
True
)
message
=
self
.
runPromise
(
"ERROR: not connected"
,
True
)
if
six
.
PY3
:
self
.
assertEqual
(
message
,
"Expecting value: line 1 column 1 (char 0)"
)
return
self
.
assertEqual
(
message
,
"No JSON object could be decoded"
)
self
.
assertEqual
(
message
,
"No JSON object could be decoded"
)
...
...
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