diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-04-11 16:21:41 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2020-04-11 16:21:41 -0400 |
commit | b79005b3b7225497f55dfce872d72f9323ddf08c (patch) | |
tree | 974592d49d7c105959cc4ec118788ff580c7e0a0 /tests/test_json.py | |
parent | b1194fbc5ca33e41b1b8ab467e0c758d3080750b (diff) | |
download | python-coveragepy-git-b79005b3b7225497f55dfce872d72f9323ddf08c.tar.gz |
New JSON info should be reported on individual files also.
Diffstat (limited to 'tests/test_json.py')
-rw-r--r-- | tests/test_json.py | 6 |
1 files changed, 4 insertions, 2 deletions
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) |