Changeset - 10d7b01af4f0
[Not reviewed]
default
0 1 0
Mads Kiilerich - 9 years ago 2016-06-14 01:16:12
madski@unity3d.com
tests: make debug output from manual_test_vcs_operations Command.execute less noisy
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/tests/other/manual_test_vcs_operations.py
Show inline comments
 
@@ -68,13 +68,15 @@ class Command(object):
 
        testenv['LANG'] = 'en_US.UTF-8'
 
        testenv['LANGUAGE'] = 'en_US:en'
 
        testenv.pop('EMAIL', None) # might not be necessary
 
        p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, cwd=self.cwd, env=testenv)
 
        stdout, stderr = p.communicate()
 
        if DEBUG:
 
            if stdout:
 
            print 'stdout:', repr(stdout)
 
            if stderr:
 
            print 'stderr:', repr(stderr)
 
        return stdout, stderr
 

	
 

	
 
def _get_tmp_dir():
 
    return tempfile.mkdtemp(prefix='rc_integration_test')
0 comments (0 inline, 0 general)