Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Xiaowu Zhang
slapos.package
Commits
a24b54c9
Commit
a24b54c9
authored
Nov 23, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Support unicode result
parent
ffbcaee7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
playbook/roles/standalone-shared/tests/testSiteStatus.py
playbook/roles/standalone-shared/tests/testSiteStatus.py
+2
-2
No files found.
playbook/roles/standalone-shared/tests/testSiteStatus.py
View file @
a24b54c9
...
@@ -13,9 +13,9 @@ class TestSiteStatus(unittest.TestCase):
...
@@ -13,9 +13,9 @@ class TestSiteStatus(unittest.TestCase):
"""Checks that site was correctly created"""
"""Checks that site was correctly created"""
# expose output for debugging
# expose output for debugging
print
'Standard output:'
print
'Standard output:'
print
self
.
status_dict
[
'stdout'
]
print
self
.
status_dict
[
'stdout'
]
.
encode
(
'utf-8'
)
print
'Standard error:'
print
'Standard error:'
print
self
.
status_dict
[
'stderr'
]
print
self
.
status_dict
[
'stderr'
]
.
encode
(
'utf-8'
)
# Assert success
# Assert success
self
.
assertTrue
(
self
.
status_dict
[
'success'
])
self
.
assertTrue
(
self
.
status_dict
[
'success'
])
...
...
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