Skip to content

Commit 1855279

Browse files
authored
Merge pull request #2163 from python-gitlab/jlvillal/lint_warning
test(api_func_v4): catch deprecation warning for `gl.lint()`
2 parents 201298d + 95fe924 commit 1855279

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/functional/api/test_gitlab.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def test_markdown_in_project(gl, project):
5050

5151

5252
def test_lint(gl):
53-
success, errors = gl.lint("Invalid")
53+
with pytest.deprecated_call():
54+
success, errors = gl.lint("Invalid")
5455
assert success is False
5556
assert errors
5657

0 commit comments

Comments
 (0)