aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/03_test_gbp_branch.py2
-rw-r--r--tests/04_test_gbp_submodules.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/03_test_gbp_branch.py b/tests/03_test_gbp_branch.py
index a3056975..a99391d0 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
diff --git a/tests/04_test_gbp_submodules.py b/tests/04_test_gbp_submodules.py
index af44c07a..a6b66bb6 100644
--- a/tests/04_test_gbp_submodules.py
+++ b/tests/04_test_gbp_submodules.py
@@ -55,7 +55,7 @@ def test_empty_has_submodules():
def _add_dummy_data(msg):
shutil.copy(".git/HEAD", testfile_name)
- gbp.command_wrappers.GitAdd()(['-f', '.'])
+ repo.add_files('.', force=True)
gbp.command_wrappers.GitCommand("commit", ["-m%s" % msg, "-a"])()