diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2020-04-11 16:15:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 16:15:27 -0400 |
commit | b1194fbc5ca33e41b1b8ab467e0c758d3080750b (patch) | |
tree | d28c625f6095e51d64b16ae41a6f8d906d3f73dc /tests/test_json.py | |
parent | 42344f3a106b13a3feebf109007e3957c20c3160 (diff) | |
parent | f5eb5f2159180db8cf0a1cf8b34bc96f1140dc96 (diff) | |
download | python-coveragepy-git-b1194fbc5ca33e41b1b8ab467e0c758d3080750b.tar.gz |
Merge pull request #966 from SZVector/json_dump_all_attributes
Extending jsonreport.py to also include all branch attributes
Diffstat (limited to 'tests/test_json.py')
-rw-r--r-- | tests/test_json.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_json.py b/tests/test_json.py index 2d2ae9f4..92dee6d9 100644 --- a/tests/test_json.py +++ b/tests/test_json.py @@ -65,7 +65,9 @@ class JsonReportTest(UsingModulesMixin, CoverageTest): 'num_branches': 2, 'excluded_lines': 0, 'num_partial_branches': 1, - 'percent_covered': 60.0 + 'percent_covered': 60.0, + 'covered_branches': 1, + 'missing_branches': 1 } } self._assert_expected_json_report(cov, expected_result) |