summaryrefslogtreecommitdiff
path: root/tests/farm/html/run_partial.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/farm/html/run_partial.py')
-rw-r--r--tests/farm/html/run_partial.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/farm/html/run_partial.py b/tests/farm/html/run_partial.py
index da51814d..d9d089e7 100644
--- a/tests/farm/html/run_partial.py
+++ b/tests/farm/html/run_partial.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
+
import sys
def html_it():
@@ -15,11 +18,11 @@ runfunc(html_it, rundir="src")
# and check that certain key strings are in the output.
compare("gold_partial", "html_partial", size_within=10, file_pattern="*.html")
contains("html_partial/partial_py.html",
- '<p id="t5" class="stm run hide_run">',
'<p id="t8" class="stm run hide_run">',
'<p id="t11" class="stm run hide_run">',
+ '<p id="t14" class="stm run hide_run">',
# The "if 0" and "if 1" statements are optimized away.
- '<p id="t14" class="pln">',
+ '<p id="t17" class="pln">',
)
contains("html_partial/index.html",
'<a href="partial_py.html">partial.py</a>',