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
Arnaud Véron
slapos.package
Commits
ceee9b15
Commit
ceee9b15
authored
2 years ago
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standalone-shared/tests: python3 fixes
parent
b88d0c3c
master
add_slapos-base_playbook
amarisoft-upgrade
anacron
ansible-report
bbu
convert_pause_pre_tasks_to_vars_prompt
edgepacer
fedora
fix/crontab-timeout
fix/deploy-test-nftable-debian-11
fix/https
generic_improvements
ors
ors-dev
re6st-location
sha256sum
No related merge requests found
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'
])
...
...
This diff is collapsed.
Click to expand it.
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