diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-25 09:51:51 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-25 09:51:51 -0500 |
commit | 4e8eb7332f0ead4715dc8a72ff9d229b3f7e3ba3 (patch) | |
tree | 5566b42cdb65c13b5c53f2ed7c71479732eb9845 /coverage/html.py | |
parent | 378d98ef131441a27f87e6e6a27b2954d04d3532 (diff) | |
download | python-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.py | 3 |
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), |