diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-23 17:58:46 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-23 17:58:46 -0800 |
commit | 44998c302a9cd458d57802129c0cbc9d61dc10e7 (patch) | |
tree | e2ca0644dcd328787de5222a3e0428f50fe99d2d /tests | |
parent | c99a28dedf06cd1114f0b4f782b2e1e1d6c10051 (diff) |
rename filePackageURL to filePackagePrefixURL
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_browser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py index 2c9407db..3000240d 100644 --- a/tests/test_browser.py +++ b/tests/test_browser.py @@ -588,7 +588,7 @@ If manually bisecting: open(os.path.join(self.get_dir(), 'subdirr', 'data1.txt'), 'w').write('''1214141516171819''') # change the file package base dir to look in a "cdn". note that normally you would add this in your own custom html file etc., and not by # modifying the existing shell in this manner - open(self.in_dir('shell.html'), 'w').write(open(path_from_root('src', 'shell.html')).read().replace('var Module = {', 'var Module = { filePackageURL: "cdn/", ')) + open(self.in_dir('shell.html'), 'w').write(open(path_from_root('src', 'shell.html')).read().replace('var Module = {', 'var Module = { filePackagePrefixURL: "cdn/", ')) open(os.path.join(self.get_dir(), 'main.cpp'), 'w').write(self.with_report_result(r''' #include <stdio.h> #include <string.h> @@ -615,8 +615,8 @@ If manually bisecting: test() - # TODO: CORS, test using a full url for filePackageURL - #open(self.in_dir('shell.html'), 'w').write(open(path_from_root('src', 'shell.html')).read().replace('var Module = {', 'var Module = { filePackageURL: "http:/localhost:8888/cdn/", ')) + # TODO: CORS, test using a full url for filePackagePrefixURL + #open(self.in_dir('shell.html'), 'w').write(open(path_from_root('src', 'shell.html')).read().replace('var Module = {', 'var Module = { filePackagePrefixURL: "http:/localhost:8888/cdn/", ')) #test() def test_compressed_file(self): |