diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 20:10:47 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2011-05-30 20:10:47 +0200 |
commit | 7fab60c596cdd2588f9c7b2b4eb9f93f8736b915 (patch) | |
tree | 7e35823a1fd9e792d33481fd9740e280c67d9165 /git/test/objects/test_blob.py | |
parent | c192638aae09c1b5c087d67cc99dd4c7ec4ed916 (diff) | |
download | gitpython-7fab60c596cdd2588f9c7b2b4eb9f93f8736b915.tar.gz |
Fixed all of the object tests, except for the submodule handling which needs more work as the amount of submodules changed in fact. Maybe I should just generate a test repository with gitpython as submodule to get the recursion depth required to satisfy the test
Diffstat (limited to 'git/test/objects/test_blob.py')
-rw-r--r-- | git/test/objects/test_blob.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git/test/objects/test_blob.py b/git/test/objects/test_blob.py index a6de7fb7..58ac25b7 100644 --- a/git/test/objects/test_blob.py +++ b/git/test/objects/test_blob.py @@ -4,11 +4,11 @@ # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php -from git.test.lib import TestBase -from git import * +from lib import * +from git.objects.blob import * from git.util import hex_to_bin -class TestBlob(TestBase): +class TestBlob(TestObjectBase): def test_mime_type_should_return_mime_type_for_known_types(self): blob = Blob(self.rorepo, **{'binsha': Blob.NULL_BIN_SHA, 'path': 'foo.png'}) |