summaryrefslogtreecommitdiff
path: root/tests/03_test_gbp_branch.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-21 21:05:05 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-22 15:33:40 +0200
commit85c3e458edc0dc1d1ab5f62c8ec75a193d45e29f (patch)
treeb04c6bc3246442937fe92b5a50ae7f9cece20120 /tests/03_test_gbp_branch.py
parent8ed66f116d1fa8f665fb4e5aa59c4303867d39b2 (diff)
Make create_repo a @classmethod
and GitInit superfluous Git-Dch: Ignore
Diffstat (limited to 'tests/03_test_gbp_branch.py')
-rw-r--r--tests/03_test_gbp_branch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/03_test_gbp_branch.py b/tests/03_test_gbp_branch.py
index 9c3d936..a305697 100644
--- a/tests/03_test_gbp_branch.py
+++ b/tests/03_test_gbp_branch.py
@@ -16,7 +16,7 @@ def setup():
top = os.path.abspath(os.curdir)
repo_dir = os.path.join(top, 'gbp_%s_test_repo' % __name__)
- repo = gbp.git.create_repo(repo_dir)
+ repo = gbp.git.GitRepository.create(repo_dir)
os.chdir(repo_dir)