summaryrefslogtreecommitdiff
path: root/test/git/test_git.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_git.py')
-rw-r--r--test/git/test_git.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/git/test_git.py b/test/git/test_git.py
index 47066941..9984e4e0 100644
--- a/test/git/test_git.py
+++ b/test/git/test_git.py
@@ -44,3 +44,8 @@ class TestGit(object):
except errors.GitCommandError, e:
error_raised = True
assert_equal( True, error_raised )
+
+ def test_it_returns_stderr_in_output(self):
+ # Note: no trailiing newline
+ assert_equal( "git: 'this-does-not-exist' is not a git-command. See 'git --help'.",
+ self.git.this_does_not_exist(with_stderr=True) )