From b79005b3b7225497f55dfce872d72f9323ddf08c Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 11 Apr 2020 16:21:41 -0400 Subject: New JSON info should be reported on individual files also. --- tests/test_json.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test_json.py b/tests/test_json.py index 92dee6d9..f7ce7934 100644 --- a/tests/test_json.py +++ b/tests/test_json.py @@ -54,7 +54,9 @@ class JsonReportTest(UsingModulesMixin, CoverageTest): 'num_branches': 2, 'excluded_lines': 0, 'num_partial_branches': 1, - 'percent_covered': 60.0 + 'covered_branches': 1, + 'missing_branches': 1, + 'percent_covered': 60.0, } } }, @@ -67,7 +69,7 @@ class JsonReportTest(UsingModulesMixin, CoverageTest): 'num_partial_branches': 1, 'percent_covered': 60.0, 'covered_branches': 1, - 'missing_branches': 1 + 'missing_branches': 1, } } self._assert_expected_json_report(cov, expected_result) -- cgit v1.2.1