diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-05-15 18:20:01 +0200 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2022-07-21 15:03:11 -0700 |
commit | 7c71d5db1199164b3fa9958e3c3bc6ec96efc78d (patch) | |
tree | 1b17a6e3467e22187ef0530c9174534e816c3560 /tests/unit/test_gitlab.py | |
parent | 0549afa6631f21ab98e1f1457607daa03b398185 (diff) | |
download | gitlab-7c71d5db1199164b3fa9958e3c3bc6ec96efc78d.tar.gz |
fix: add `get_all` param (and `--get-all`) to allow passing `all` to API
Diffstat (limited to 'tests/unit/test_gitlab.py')
-rw-r--r-- | tests/unit/test_gitlab.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_gitlab.py b/tests/unit/test_gitlab.py index eca4bea..4189174 100644 --- a/tests/unit/test_gitlab.py +++ b/tests/unit/test_gitlab.py @@ -215,10 +215,10 @@ def test_gitlab_build_list_missing_headers(gl, resp_page_1, resp_page_2): @responses.activate -def test_gitlab_all_omitted_when_iterator(gl, resp_page_1, resp_page_2): +def test_gitlab_get_all_omitted_when_iterator(gl, resp_page_1, resp_page_2): responses.add(**resp_page_1) responses.add(**resp_page_2) - result = gl.http_list("/tests", iterator=True, all=True) + result = gl.http_list("/tests", iterator=True, get_all=True) assert isinstance(result, gitlab.GitlabList) |