changeset 7667:ed9fea79a321

tests: better debugging of failing vcs Commands - show the actual output, not the repr
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 16 Jan 2019 03:11:06 +0100
parents 4473f1094d3d
children 04bb8b16852f
files kallithea/tests/other/test_vcs_operations.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/tests/other/test_vcs_operations.py	Sat Jan 05 14:57:49 2019 +0100
+++ b/kallithea/tests/other/test_vcs_operations.py	Wed Jan 16 03:11:06 2019 +0100
@@ -73,9 +73,9 @@
         stdout, stderr = p.communicate()
         if DEBUG:
             if stdout:
-                print 'stdout:', repr(stdout)
+                print 'stdout:', stdout
             if stderr:
-                print 'stderr:', repr(stderr)
+                print 'stderr:', stderr
         if not ignoreReturnCode:
             assert p.returncode == 0
         return stdout, stderr