summaryrefslogtreecommitdiff
path: root/test/testlib/helper.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-18 17:09:13 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-18 17:09:13 +0200
commit9840afda82fafcc3eaf52351c64e2cfdb8962397 (patch)
treef879f2e798ad2d5345d7eca7da76db7c00181481 /test/testlib/helper.py
parent225999e9442c746333a8baa17a6dbf7341c135ca (diff)
downloadgitpython-9840afda82fafcc3eaf52351c64e2cfdb8962397.tar.gz
diff method now checks for git-diff errrs that can easily occour if the repository is bare and if there is no index or second tree specified
Diffstat (limited to 'test/testlib/helper.py')
-rw-r--r--test/testlib/helper.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testlib/helper.py b/test/testlib/helper.py
index c4c0f2ba..b34c9303 100644
--- a/test/testlib/helper.py
+++ b/test/testlib/helper.py
@@ -52,3 +52,9 @@ class ListProcessAdapter(object):
def __init__(self, input_list_or_string):
self.stdout = self.Stream(input_list_or_string)
+ self.stderr = self.Stream('')
+
+ def wait(self):
+ return 0
+
+ poll = wait