aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/03_test_gbp_branch.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-22 13:54:16 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-23 16:18:53 +0200
commit83fd2c679fb4eb0aad0a05f95968603d04b3fab6 (patch)
tree15ebe72e6450d9d84c6716052b61d45c6fd3d047 /tests/03_test_gbp_branch.py
parenta65c430b9414e166d9b6d9731fab636f710565b5 (diff)
GitRepository: add commit and commit_all
to commit the current state of the index and all changes.
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 a99391d0..49ba9b76 100644
--- a/tests/03_test_gbp_branch.py
+++ b/tests/03_test_gbp_branch.py
@@ -40,7 +40,7 @@ def test_add_files():
"""Add some dummy data"""
shutil.copy(".git/HEAD", "testfile")
repo.add_files('.', force=True)
- gbp.command_wrappers.GitCommand("commit", ["-mfoo", "-a"])()
+ repo.commit_all(msg="foo")
assert True
def test_branch_master():