Changeset - ed9fea79a321
[Not reviewed]
default
0 1 0
Mads Kiilerich - 7 years ago 2019-01-16 03:11:06
mads@kiilerich.com
Grafted from: d6f3577e45c2
tests: better debugging of failing vcs Commands - show the actual output, not the repr
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/other/test_vcs_operations.py
Show inline comments
 
@@ -73,9 +73,9 @@ class Command(object):
 
        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
0 comments (0 inline, 0 general)