Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 95fe924

Browse filesBrowse files
test(api_func_v4): catch deprecation warning for gl.lint()
Catch the deprecation warning for the call to `gl.lint()`, so it won't show up in the log.
1 parent 201298d commit 95fe924
Copy full SHA for 95fe924

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎tests/functional/api/test_gitlab.py‎

Copy file name to clipboardExpand all lines: tests/functional/api/test_gitlab.py
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.