summaryrefslogtreecommitdiff
path: root/tests/lint/unittest_lint.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lint/unittest_lint.py')
-rw-r--r--tests/lint/unittest_lint.py20
1 files changed, 18 insertions, 2 deletions
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py
index a167b03fd..865d7640b 100644
--- a/tests/lint/unittest_lint.py
+++ b/tests/lint/unittest_lint.py
@@ -500,7 +500,14 @@ def test_addmessage(linter: PyLinter) -> None:
description="Warning without any associated confidence level.",
),
location=MessageLocationTuple(
- abspath="0123", path="0123", module="0123", obj="", line=1, column=0
+ abspath="0123",
+ path="0123",
+ module="0123",
+ obj="",
+ line=1,
+ column=0,
+ end_line=None,
+ end_column=None,
),
)
assert linter.reporter.messages[1] == Message(
@@ -512,7 +519,14 @@ def test_addmessage(linter: PyLinter) -> None:
description="Warning without any associated confidence level.",
),
location=MessageLocationTuple(
- abspath="0123", path="0123", module="0123", obj="", line=2, column=0
+ abspath="0123",
+ path="0123",
+ module="0123",
+ obj="",
+ line=2,
+ column=0,
+ end_line=None,
+ end_column=None,
),
)
@@ -616,6 +630,8 @@ def test_analyze_explicit_script(linter: PyLinter) -> None:
obj="",
line=2,
column=0,
+ end_line=None,
+ end_column=None,
),
)