]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python:tests: Decode stdout for greater readability
authorJennifer Sutton <jennifersutton@catalyst.net.nz>
Tue, 6 Aug 2024 02:05:38 +0000 (14:05 +1200)
committerJo Sutton <jsutton@samba.org>
Mon, 26 May 2025 02:41:37 +0000 (02:41 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15852

Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/domain_backup.py

index 501108a0871b2ffa89595407a70c4fa2ea89f041..70993bb51e717038889d472398de5f271bfb15e8 100644 (file)
@@ -535,7 +535,7 @@ class DomainBackupBase(BlackboxTestCase, GkdiBaseTest):
             # that we skip the TestCaseInTempDir._remove_tempdir() assertions
             self.cleanup_tempdir()
             self.fail("Error calling samba-tool: %s" % e)
-        print(out)
+        print(out.decode())
 
     def create_backup(self, extra_args=None):
         """Runs the backup cmd to produce a backup file for the testenv DC"""