From 9840afda82fafcc3eaf52351c64e2cfdb8962397 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 18 Oct 2009 17:09:13 +0200 Subject: 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 --- test/testlib/helper.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/testlib/helper.py') 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 -- cgit v1.2.3