summaryrefslogtreecommitdiff
path: root/test/git/test_git.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-11-05 21:25:24 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-11-05 21:25:24 +0100
commitb372fdd54bab2ad6639756958978660b12095c3c (patch)
tree2b15980cfea5620113db34265d3a6505f01f73ad /test/git/test_git.py
parent555b0efc2c19aa8cf7c548b4097bd20a73f572ca (diff)
downloadgitpython-b372fdd54bab2ad6639756958978660b12095c3c.tar.gz
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
Diffstat (limited to 'test/git/test_git.py')
-rw-r--r--test/git/test_git.py7
1 files changed, 0 insertions, 7 deletions
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