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
Ophélie Gagnard
slapos.package
Commits
ceee9b15
Commit
ceee9b15
authored
Sep 15, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standalone-shared/tests: python3 fixes
parent
b88d0c3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
playbook/roles/standalone-shared/tests/testSiteStatus.py
playbook/roles/standalone-shared/tests/testSiteStatus.py
+4
-4
No files found.
playbook/roles/standalone-shared/tests/testSiteStatus.py
View file @
ceee9b15
...
@@ -12,10 +12,10 @@ class TestSiteStatus(unittest.TestCase):
...
@@ -12,10 +12,10 @@ class TestSiteStatus(unittest.TestCase):
def
test_build
(
self
):
def
test_build
(
self
):
"""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'
].
encode
(
'utf-8'
)
print
(
self
.
status_dict
[
'stdout'
].
encode
(
'utf-8'
)
)
print
'Standard error:'
print
(
'Standard error:'
)
print
self
.
status_dict
[
'stderr'
].
encode
(
'utf-8'
)
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