add comment about base URL prefixes in tests

This commit is contained in:
Min RK 2015-09-28 10:47:29 +02:00
parent f52c66268e
commit c87c5ffd1f
2 changed files with 4 additions and 0 deletions

View File

@ -222,6 +222,8 @@ class JSController(TestController):
self.section = section
self.xunit = xunit
self.url = url
# run with a base URL that would be escaped,
# to test that we don't double-escape URLs
self.base_url = '/a@b/'
self.slimer_failure = re.compile('^FAIL.*', flags=re.MULTILINE)
js_test_dir = get_js_test_dir()

View File

@ -39,6 +39,8 @@ class NotebookTestBase(TestCase):
port = 12341
config = None
# run with a base URL that would be escaped,
# to test that we don't double-escape URLs
url_prefix = '/a%40b/'
@classmethod