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/functional/api/test_snippets.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/functional/api/test_snippets.py')
-rw-r--r-- | tests/functional/api/test_snippets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/api/test_snippets.py b/tests/functional/api/test_snippets.py index f9084e1..a4808e7 100644 --- a/tests/functional/api/test_snippets.py +++ b/tests/functional/api/test_snippets.py @@ -2,7 +2,7 @@ import gitlab def test_snippets(gl): - snippets = gl.snippets.list(all=True) + snippets = gl.snippets.list(get_all=True) assert not snippets snippet = gl.snippets.create( @@ -20,7 +20,7 @@ def test_snippets(gl): assert snippet.user_agent_detail()["user_agent"] snippet.delete() - assert snippet not in gl.snippets.list(all=True) + assert snippet not in gl.snippets.list(get_all=True) def test_project_snippets(project): |