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_tree.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_tree.py')
-rw-r--r-- | git/test/objects/test_tree.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/git/test/objects/test_tree.py b/git/test/objects/test_tree.py index af32aeb9..bc8d3f97 100644 --- a/git/test/objects/test_tree.py +++ b/git/test/objects/test_tree.py @@ -4,16 +4,18 @@ # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php -import os -from git.test.lib import TestBase -from git import * + +from lib import * from git.objects.fun import ( traverse_tree_recursive, traverse_trees_recursive ) +from git.objects.blob import Blob +from git.objects.tree import Tree from cStringIO import StringIO +import os -class TestTree(TestBase): +class TestTree(TestObjectBase): def test_serializable(self): # tree at the given commit contains a submodule as well |