diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-15 15:42:00 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-15 15:42:00 +0200 |
commit | 39229db70e71a6be275dafb3dd9468930e40ae48 (patch) | |
tree | c631f2b69c7f5874834214cf32970c48f05b5613 /test/git/test_repo.py | |
parent | 9f51eeb2f9a1efe22e45f7a1f7b963100f2f8e6b (diff) | |
download | gitpython-39229db70e71a6be275dafb3dd9468930e40ae48.tar.gz |
Object can now create objects of the proper type in case one attempts to create an object directly - this feature is used in several places now, allowing for additional type-checking
Diffstat (limited to 'test/git/test_repo.py')
-rw-r--r-- | test/git/test_repo.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py index 5869fb6a..cefd1349 100644 --- a/test/git/test_repo.py +++ b/test/git/test_repo.py @@ -65,14 +65,6 @@ class TestRepo(object): assert_true(git.called) - @patch_object(Git, '_call_process') - def test_commit(self, git): - git.return_value = ListProcessAdapter(fixture('rev_list_single')) - - commit = self.repo.commit('4c8124ffcf4039d292442eeccabdeca5af5c5017') - - assert_equal("4c8124ffcf4039d292442eeccabdeca5af5c5017", commit.id) - @patch_object(Repo, '__init__') @patch_object(Git, '_call_process') def test_init_bare(self, git, repo): |