diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-03-05 14:14:09 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-03-05 14:14:09 +0200 |
commit | 2d4a63b00968ac5473e3b82b7c45e3f742a8e707 (patch) | |
tree | 8a2a4144f2fbdf41f96a298a4584bd13c59ed563 /yarnhelper.py | |
parent | 3f765912c0a63f7c81a58f32c44507300608b973 (diff) | |
download | git.liw.fi-ruleset-tests-2d4a63b00968ac5473e3b82b7c45e3f742a8e707.tar.gz |
Add scenario to verify Steven can't push release tags
Diffstat (limited to 'yarnhelper.py')
-rw-r--r-- | yarnhelper.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yarnhelper.py b/yarnhelper.py index d132b88..25c1db1 100644 --- a/yarnhelper.py +++ b/yarnhelper.py @@ -20,6 +20,7 @@ import email import imaplib import os import subprocess +import sys import urlparse import cliapp @@ -162,6 +163,8 @@ class YarnHelper(object): def git_as_checked(self, user, args, **kwargs): # pragma: no cover exit, out, err = self.git_as(user, args, **kwargs) + sys.stdout.write('STDOUT from git:\n{}'.format(out)) + sys.stderr.write('STDERR from git:\n{}'.format(err)) self.assertEqual(exit, 0) def env_ssh_command(self, user): # pragma: no cover |