summaryrefslogtreecommitdiff
path: root/test/git/test_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_base.py')
-rw-r--r--test/git/test_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/git/test_base.py b/test/git/test_base.py
index 1b78786a..497f90fb 100644
--- a/test/git/test_base.py
+++ b/test/git/test_base.py
@@ -32,13 +32,13 @@ class TestBase(TestBase):
for obj_type, (typename, hexsha) in zip(types, self.type_tuples):
item = obj_type(self.rorepo,hexsha)
num_objs += 1
- assert item.id == hexsha
+ assert item.sha == hexsha
assert item.type == typename
assert item.size
assert item.data
assert item == item
assert not item != item
- assert str(item) == item.id
+ assert str(item) == item.sha
assert repr(item)
s.add(item)