summaryrefslogtreecommitdiffstats
path: root/tests/lint_tests/test_lint_dctrl.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-25 02:59:47 +0000
commit03a1bd448be99d872d663a57a1cf4492882e090d (patch)
treec3d23691aa4dfdba89856bde05707a9a8e16abab /tests/lint_tests/test_lint_dctrl.py
parentAdding upstream version 0.1.28. (diff)
downloaddebputy-03a1bd448be99d872d663a57a1cf4492882e090d.tar.xz
debputy-03a1bd448be99d872d663a57a1cf4492882e090d.zip
Adding upstream version 0.1.29.upstream/0.1.29
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/lint_tests/test_lint_dctrl.py')
-rw-r--r--tests/lint_tests/test_lint_dctrl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lint_tests/test_lint_dctrl.py b/tests/lint_tests/test_lint_dctrl.py
index e9a5756..ce34d7c 100644
--- a/tests/lint_tests/test_lint_dctrl.py
+++ b/tests/lint_tests/test_lint_dctrl.py
@@ -153,6 +153,7 @@ def test_dctrl_lint_mx_value_with_typo(line_linter: LintWrapper) -> None:
diagnostics = line_linter(lines)
print(diagnostics)
+ assert diagnostics is not None
assert len(diagnostics) == 2
by_severity = group_diagnostics_by_severity(diagnostics)
assert DiagnosticSeverity.Error in by_severity