summaryrefslogtreecommitdiff
path: root/git/test/objects/test_commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-05-30 20:10:47 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-05-30 20:10:47 +0200
commit7fab60c596cdd2588f9c7b2b4eb9f93f8736b915 (patch)
tree7e35823a1fd9e792d33481fd9740e280c67d9165 /git/test/objects/test_commit.py
parentc192638aae09c1b5c087d67cc99dd4c7ec4ed916 (diff)
downloadgitpython-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_commit.py')
-rw-r--r--git/test/objects/test_commit.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/git/test/objects/test_commit.py b/git/test/objects/test_commit.py
index 3ccff228..80326fe9 100644
--- a/git/test/objects/test_commit.py
+++ b/git/test/objects/test_commit.py
@@ -5,10 +5,14 @@
# 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 git import IStream
-from git.util import hex_to_bin
+from lib import *
+from git.objects.commit import *
+from git.base import IStream
+
+from git.util import (
+ hex_to_bin,
+ Actor,
+ )
from cStringIO import StringIO
import time
@@ -65,7 +69,7 @@ def assert_commit_serialization(rwrepo, commit_id, print_performance_info=False)
# END handle performance info
-class TestCommit(TestBase):
+class TestCommit(TestObjectBase):
def test_bake(self):