summaryrefslogtreecommitdiff
path: root/tests/farm/html/run_b_branch.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-24 10:43:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-24 10:43:46 -0400
commitb99fbf1ff6a06309ecf6cce8d6ae97dee5626784 (patch)
tree0ef7c253dbe1666fa30c820f1f2e1a16071a967f /tests/farm/html/run_b_branch.py
parentca0e0463d3f5b5289f0e8c22953863c71e893f19 (diff)
downloadpython-coveragepy-git-b99fbf1ff6a06309ecf6cce8d6ae97dee5626784.tar.gz
Add license mention to the top of all files. #313.
Diffstat (limited to 'tests/farm/html/run_b_branch.py')
-rw-r--r--tests/farm/html/run_b_branch.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/farm/html/run_b_branch.py b/tests/farm/html/run_b_branch.py
index cc7783ac..ecb812de 100644
--- a/tests/farm/html/run_b_branch.py
+++ b/tests/farm/html/run_b_branch.py
@@ -1,3 +1,6 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
+
def html_it():
"""Run coverage.py with branches and make an HTML report for b."""
import coverage
@@ -16,9 +19,9 @@ contains("html_b_branch/b_py.html",
'<span class="key">if</span> <span class="nam">x</span> <span class="op">&lt;</span> <span class="num">2</span>',
'&nbsp; &nbsp; <span class="nam">a</span> <span class="op">=</span> <span class="num">3</span>',
'<span class="pc_cov">70%</span>',
- '<span class="annotate" title="no jump to this line number">8</span>',
+ '<span class="annotate" title="no jump to this line number">11</span>',
'<span class="annotate" title="no jump to this line number">exit</span>',
- '<span class="annotate" title="no jumps to these line numbers">23&nbsp;&nbsp; 25</span>',
+ '<span class="annotate" title="no jumps to these line numbers">26&nbsp;&nbsp; 28</span>',
)
contains("html_b_branch/index.html",
'<a href="b_py.html">b.py</a>',