summaryrefslogtreecommitdiff
path: root/test/git/test_commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-11-15 19:03:53 +0100
committerSebastian Thiel <byronimo@gmail.com>2010-11-15 19:03:53 +0100
commit624556eae1c292a1dc283d9dca1557e28abe8ee3 (patch)
treea90ef1572044f113d3dae587f67f6ca51593ba07 /test/git/test_commit.py
parentf97653aa06cf84bcf160be3786b6fce49ef52961 (diff)
downloadgitpython-624556eae1c292a1dc283d9dca1557e28abe8ee3.tar.gz
Optimized test-decorators, by completely removing with_bare_rw_repo, which was mainly copy-paste from with_rw_repo, what a shame
Diffstat (limited to 'test/git/test_commit.py')
-rw-r--r--test/git/test_commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/test_commit.py b/test/git/test_commit.py
index 2692938f..c3ce5c92 100644
--- a/test/git/test_commit.py
+++ b/test/git/test_commit.py
@@ -237,7 +237,7 @@ class TestCommit(TestBase):
name_rev = self.rorepo.head.commit.name_rev
assert isinstance(name_rev, basestring)
- @with_bare_rw_repo
+ @with_rw_repo('HEAD', bare=True)
def test_serialization(self, rwrepo):
# create all commits of our repo
assert_commit_serialization(rwrepo, '0.1.6')