From 5ec7967b64f1aea7e3258e0c1c8033639d0320ff Mon Sep 17 00:00:00 2001 From: sroet Date: Fri, 10 Sep 2021 14:05:24 +0200 Subject: propagate kwargs in do_test_fetch --- test/test_remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_remote.py b/test/test_remote.py index 243eec29..e5fe8dd0 100644 --- a/test/test_remote.py +++ b/test/test_remote.py @@ -164,7 +164,7 @@ class TestRemote(TestBase): index.commit("Committing %s" % new_file) return new_file - def _do_test_fetch(self, remote, rw_repo, remote_repo): + def _do_test_fetch(self, remote, rw_repo, remote_repo, **kwargs): # specialized fetch testing to de-clutter the main test self._do_test_fetch_info(rw_repo) @@ -183,7 +183,7 @@ class TestRemote(TestBase): # put remote head to master as it is guaranteed to exist remote_repo.head.reference = remote_repo.heads.master - res = fetch_and_test(remote) + res = fetch_and_test(remote, **kwargs) # all up to date for info in res: self.assertTrue(info.flags & info.HEAD_UPTODATE) -- cgit v1.2.1