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 8bf1e46 commit f1dadf1Copy full SHA for f1dadf1
tests/unittest_reporters_json.py
@@ -36,6 +36,14 @@
36
]
37
38
39
+def test_simple_json_output_with_score():
40
+ report = get_linter_result(score=True)
41
+ assert len(report) == 2
42
+ report_result = [sorted(report[0].items(), key=lambda item: item[0])]
43
+ assert report_result == expected_result
44
+ assert report[1] == {"score": expected_score_message}
45
+
46
47
def test_simple_json_output_no_score():
48
report = get_linter_result(score=False)
49
assert len(report) == 1
0 commit comments