diff options
author | sroet <sanderroet@hotmail.com> | 2021-09-10 14:05:24 +0200 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-09-18 09:26:28 +0800 |
commit | 5ec7967b64f1aea7e3258e0c1c8033639d0320ff (patch) | |
tree | e6e6ab88212b10229f80419b4648c5ef9ffd9c50 | |
parent | 5d2dfb18777a95165f588d099111b2a553c6a8ca (diff) | |
download | gitpython-5ec7967b64f1aea7e3258e0c1c8033639d0320ff.tar.gz |
propagate kwargs in do_test_fetch
-rw-r--r-- | test/test_remote.py | 4 |
1 files 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) |