From b372fdd54bab2ad6639756958978660b12095c3c Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 5 Nov 2009 21:25:24 +0100 Subject: removed large-input test as it is totally dependent on the subprocess implementation in the end whether pipeing large input works. In general , input and output pipes are used, the shell is bypassed, hence there is no reason for a problem unless we are on a very rare platform. And if so, we can't do anything about it so why should there be a possibly failing test ? Problem is that the test would fail on windows in case it is not installed on c:\windows --- test/git/test_git.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'test/git/test_git.py') diff --git a/test/git/test_git.py b/test/git/test_git.py index c4a39e85..6e4ab394 100644 --- a/test/git/test_git.py +++ b/test/git/test_git.py @@ -45,13 +45,6 @@ class TestGit(TestCase): self.git.hash_object(istream=fh, stdin=True)) fh.close() - def test_it_handles_large_input(self): - if sys.platform == 'win32': - output = self.git.execute(["type", "C:\WINDOWS\system32\cmd.exe"]) - else: - output = self.git.execute(["cat", "/bin/bash"]) - assert_true(len(output) > 4096) # at least 4k - @patch_object(Git, 'execute') def test_it_ignores_false_kwargs(self, git): # this_should_not_be_ignored=False implies it *should* be ignored -- cgit v1.2.1