Commit ceee9b15 authored by Jérome Perrin's avatar Jérome Perrin

standalone-shared/tests: python3 fixes

parent b88d0c3c
Pipeline #23521 passed with stage
in 0 seconds
...@@ -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'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment