summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2013-04-27 00:12:26 +0200
committerGuido Günther <agx@sigxcpu.org>2013-04-27 00:12:26 +0200
commit3fd12f4e334f62ed1d129e1330a10a1a1cf4aeb8 (patch)
tree44e4a512e67f0188d0f97059c8cada0c360d294f /tests
parent3c9d10e04c1604a4b6846154941528daba2bcffb (diff)
Silence GitRepository.grep_log
None of the gbp script rely on the output being printed. In fact we improve the exception by appending the stderr output.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_GitRepository.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index 37b50f8..7365dd8 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -695,7 +695,7 @@ def test_gc():
>>> repo.collect_garbage()
"""
-def test_grep():
+def test_grep_log():
"""
Test grepping through commit messages
@@ -714,7 +714,7 @@ def test_grep():
>>> repo.grep_log('foo', 'doesnotexist')
Traceback (most recent call last):
...
- GitRepositoryError: Error grepping log for foo
+ GitRepositoryError: Error grepping log for foo: fatal: bad revision 'doesnotexist'
"""
def test_is_ff():