[devtools/qunit] prefix jquery_dir with 'file://'
(as this is used from within a web browser)
--- a/devtools/qunit.py Fri Jun 18 18:16:36 2010 +0200
+++ b/devtools/qunit.py Fri Jun 18 18:35:09 2010 +0200
@@ -132,7 +132,7 @@
# generate html test file
- jquery_dir = self.config.locate_resource('jquery.js')
+ jquery_dir = 'file://' + self.config.locate_resource('jquery.js')
html_test_file = NamedTemporaryFile(suffix='.html')
html_test_file.write(make_qunit_html(test_file, depends,
server_data=(self.test_host, self.test_port),