diff options
author | Salvatore Zagaria <salvatore.zagaria@vector.com> | 2020-03-31 17:24:13 +0100 |
---|---|---|
committer | Salvatore Zagaria <salvatore.zagaria@vector.com> | 2020-04-07 10:52:03 +0100 |
commit | f5eb5f2159180db8cf0a1cf8b34bc96f1140dc96 (patch) | |
tree | d53508900417fbcb4deab8d636af0782d3e28498 /tests/test_json.py | |
parent | 17204597c33db2cc396d32b8f9931c35f2518675 (diff) | |
download | python-coveragepy-git-f5eb5f2159180db8cf0a1cf8b34bc96f1140dc96.tar.gz |
Extending jsonreport.py to also include all branch attributes
Signed-off-by: Salvatore Zagaria <salvatore.zagaria@vector.com>
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) |