summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/git/test_base.py2
-rw-r--r--test/git/test_blob.py8
2 files changed, 0 insertions, 10 deletions
diff --git a/test/git/test_base.py b/test/git/test_base.py
index 938647d0..db13feae 100644
--- a/test/git/test_base.py
+++ b/test/git/test_base.py
@@ -42,8 +42,6 @@ class TestBase(TestBase):
assert item.hexsha == hexsha
assert item.type == typename
assert item.size
- if isinstance(item, Blob):
- assert item.data
assert item == item
assert not item != item
assert str(item) == item.hexsha
diff --git a/test/git/test_blob.py b/test/git/test_blob.py
index e5fca0a6..623ed179 100644
--- a/test/git/test_blob.py
+++ b/test/git/test_blob.py
@@ -10,14 +10,6 @@ from gitdb.util import hex_to_bin
class TestBlob(TestBase):
- def test_should_cache_data(self):
- bid = 'a802c139d4767c89dcad79d836d05f7004d39aac'
- blob = Blob(self.rorepo, hex_to_bin(bid))
- blob.data
- assert blob.data
- blob.size
- blob.size
-
def test_mime_type_should_return_mime_type_for_known_types(self):
blob = Blob(self.rorepo, **{'binsha': Blob.NULL_BIN_SHA, 'path': 'foo.png'})
assert_equal("image/png", blob.mime_type)