From 7c71d5db1199164b3fa9958e3c3bc6ec96efc78d Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Sat, 15 May 2021 18:20:01 +0200 Subject: fix: add `get_all` param (and `--get-all`) to allow passing `all` to API --- tests/functional/api/test_snippets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functional/api/test_snippets.py') 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): -- cgit v1.2.1