mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
add comment about base URL prefixes in tests
This commit is contained in:
parent
f52c66268e
commit
c87c5ffd1f
@ -222,6 +222,8 @@ class JSController(TestController):
|
|||||||
self.section = section
|
self.section = section
|
||||||
self.xunit = xunit
|
self.xunit = xunit
|
||||||
self.url = url
|
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.base_url = '/a@b/'
|
||||||
self.slimer_failure = re.compile('^FAIL.*', flags=re.MULTILINE)
|
self.slimer_failure = re.compile('^FAIL.*', flags=re.MULTILINE)
|
||||||
js_test_dir = get_js_test_dir()
|
js_test_dir = get_js_test_dir()
|
||||||
|
@ -39,6 +39,8 @@ class NotebookTestBase(TestCase):
|
|||||||
|
|
||||||
port = 12341
|
port = 12341
|
||||||
config = None
|
config = None
|
||||||
|
# run with a base URL that would be escaped,
|
||||||
|
# to test that we don't double-escape URLs
|
||||||
url_prefix = '/a%40b/'
|
url_prefix = '/a%40b/'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user