diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-22 22:04:46 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-22 22:04:46 -0400 |
| commit | f1fa57a4b57f42694ca4d82c876e5f347dcaa381 (patch) | |
| tree | 26cf4c2b8e22f2fb7ddccc78525613982e01aa48 /coverage/htmlfiles/index.html | |
| parent | e938c7058a1f109697de21baa34e9348594e6c59 (diff) | |
| download | python-coveragepy-git-f1fa57a4b57f42694ca4d82c876e5f347dcaa381.tar.gz | |
Filtering now computes coverage percentages properly.
Diffstat (limited to 'coverage/htmlfiles/index.html')
| -rw-r--r-- | coverage/htmlfiles/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index 4b572711..bea715e1 100644 --- a/coverage/htmlfiles/index.html +++ b/coverage/htmlfiles/index.html @@ -78,7 +78,7 @@ <td>{{totals.n_branches}}</td> <td>{{totals.n_partial_branches}}</td> {% endif %} - <td class='right'>{{totals.pc_covered_str}}%</td> + <td class='right' data-ratio='{{totals.ratio_covered|pair}}'>{{totals.pc_covered_str}}%</td> </tr> </tfoot> <tbody> @@ -92,7 +92,7 @@ <td>{{file.nums.n_branches}}</td> <td>{{file.nums.n_partial_branches}}</td> {% endif %} - <td class='right'>{{file.nums.pc_covered_str}}%</td> + <td class='right' data-ratio='{{file.nums.ratio_covered|pair}}'>{{file.nums.pc_covered_str}}%</td> </tr> {% endfor %} </tbody> |
