summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-25 09:51:51 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-25 09:51:51 -0500
commit4e8eb7332f0ead4715dc8a72ff9d229b3f7e3ba3 (patch)
tree5566b42cdb65c13b5c53f2ed7c71479732eb9845 /coverage/html.py
parent378d98ef131441a27f87e6e6a27b2954d04d3532 (diff)
downloadpython-coveragepy-4e8eb7332f0ead4715dc8a72ff9d229b3f7e3ba3.tar.gz
Move the javascript code for click-to-sort columns into its own file. It helps keep the HTML tests from changing when the code changes. Also, don't compare non-HTML files in the tests.
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/coverage/html.py b/coverage/html.py
index f8e84ac..6df84a5 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -49,7 +49,8 @@ class HtmlReporter(Reporter):
# Create the once-per-directory files.
for static in [
- "style.css", "jquery-1.3.2.min.js", "jquery.tablesorter.min.js"
+ "style.css", "coverage_html.js",
+ "jquery-1.3.2.min.js", "jquery.tablesorter.min.js"
]:
shutil.copyfile(
data_filename("htmlfiles/" + static),