diff options
Diffstat (limited to 'test/git/test_base.py')
-rw-r--r-- | test/git/test_base.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/git/test_base.py b/test/git/test_base.py index 71576048..4ad98d7f 100644 --- a/test/git/test_base.py +++ b/test/git/test_base.py @@ -48,6 +48,11 @@ class TestBase(object): assert not item.path.startswith("/") # must be relative assert isinstance(item.mode, int) # END index object check + + # read from stream + data_stream = item.data_stream + data = data_stream.read() + assert data # END for each object type to create # each has a unique sha |