summaryrefslogtreecommitdiff
path: root/test/git/test_tree.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-09 11:57:48 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-09 11:57:48 +0200
commit92a97480edcc0f0de787a752bf90feed0445dd39 (patch)
tree518c00ba9840a2d6f32ffa7a876d7efa98016a03 /test/git/test_tree.py
parent2b7f5cb25e0e03e06ec506d31c001c172dd71ef6 (diff)
downloadgitpython-92a97480edcc0f0de787a752bf90feed0445dd39.tar.gz
Blob|Tree: renamed 'name' member to 'path', updated tests and changelog as it would make existing code incompatible in some places
Diffstat (limited to 'test/git/test_tree.py')
-rw-r--r--test/git/test_tree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/git/test_tree.py b/test/git/test_tree.py
index 947b0ffb..3946a33c 100644
--- a/test/git/test_tree.py
+++ b/test/git/test_tree.py
@@ -32,7 +32,7 @@ class TestTree(object):
assert_equal(Tree, tree.__class__)
assert_equal("650fa3f0c17f1edb4ae53d8dcca4ac59d86e6c44", tree.id)
assert_equal("040000", tree.mode)
- assert_equal("test", tree.name)
+ assert_equal("test", tree.path)
def test_content_from_string_tree_should_return_blob(self):
text = fixture('ls_tree_b').split("\n")[0]
@@ -42,7 +42,7 @@ class TestTree(object):
assert_equal(Blob, tree.__class__)
assert_equal("aa94e396335d2957ca92606f909e53e7beaf3fbb", tree.id)
assert_equal("100644", tree.mode)
- assert_equal("grit.rb", tree.name)
+ assert_equal("grit.rb", tree.path)
def test_content_from_string_tree_should_return_commit(self):
text = fixture('ls_tree_commit').split("\n")[1]