tests: add a test for git.foo( istream=fh )
authorDavid Aguilar <davvid@gmail.com>
Thu, 29 May 2008 09:03:18 +0000 (02:03 -0700)
committerDavid Aguilar <davvid@gmail.com>
Thu, 29 May 2008 09:03:18 +0000 (02:03 -0700)
commitdc922f3678a1b01cac2b3f1ec74b831ffec52a71
treee75eb8921a18e28010d14f01d02a864419d7c40b
parent2405cf54ac06140a0821f55b34c1d54f699e8e73
tests: add a test for git.foo( istream=fh )

This test runs the equivalent of:

"git hash-object < fixtures/cat_file_blob"

with the new istream mechanism and compares the computed hash.

Signed-off-by: David Aguilar <davvid@gmail.com>
test/git/test_git.py
test/testlib/helper.py