8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95db680 commit accd5aaCopy full SHA for accd5aa
tests/functional/api/test_snippets.py
@@ -24,7 +24,10 @@ def test_snippets(gl):
24
assert content.decode() == "import gitlab"
25
26
all_snippets = gl.snippets.list_all(get_all=True)
27
- public_snippets = gl.snippets.public(get_all=True)
+ with pytest.warns(
28
+ DeprecationWarning, match=r"Gitlab.snippets.public\(\) is deprecated"
29
+ ):
30
+ public_snippets = gl.snippets.public(get_all=True)
31
list_public_snippets = gl.snippets.list_public(get_all=True)
32
assert isinstance(all_snippets, list)
33
assert isinstance(list_public_snippets, list)
0 commit comments