summaryrefslogtreecommitdiff
path: root/test/git/test_blob.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_blob.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_blob.py')
-rw-r--r--test/git/test_blob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_blob.py b/test/git/test_blob.py
index 5bd74ff7..8741fc1d 100644
--- a/test/git/test_blob.py
+++ b/test/git/test_blob.py
@@ -57,7 +57,7 @@ class TestBlob(object):
assert_equal(git.call_args, (('cat_file', 'abc'), {'s': True}))
def test_mime_type_should_return_mime_type_for_known_types(self):
- blob = Blob(self.repo, **{'id': 'abc', 'name': 'foo.png'})
+ blob = Blob(self.repo, **{'id': 'abc', 'path': 'foo.png'})
assert_equal("image/png", blob.mime_type)
def test_mime_type_should_return_text_plain_for_unknown_types(self):