summaryrefslogtreecommitdiff
path: root/tests/03_test_gbp_branch.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-10-21 21:20:24 +0200
committerGuido Günther <agx@sigxcpu.org>2011-10-22 15:33:40 +0200
commite7a35319ba55b6cf0b88bc6299a85281de2374c1 (patch)
tree781e9fbcf7dd9b4aaf9014ace0d7adf6050b7f2a /tests/03_test_gbp_branch.py
parent6da5985f2eb0f39d97afb271569de102ff472858 (diff)
Replace GitAdd by GitRepository.add_files
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 a305697..a99391d 100644
--- a/tests/03_test_gbp_branch.py
+++ b/tests/03_test_gbp_branch.py
@@ -39,7 +39,7 @@ def test_is_empty():
def test_add_files():
"""Add some dummy data"""
shutil.copy(".git/HEAD", "testfile")
- gbp.command_wrappers.GitAdd()(['-f', '.'])
+ repo.add_files('.', force=True)
gbp.command_wrappers.GitCommand("commit", ["-mfoo", "-a"])()
assert True