Skip to content

Commit 734630d

Browse files
committed
Fix tests for absolute URLs
1 parent f8ce7d9 commit 734630d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/resources/jupyter_server_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
},
55
'python-http-abs': {
66
'command': ['python3', './tests/resources/httpinfo.py', '{port}'],
7-
'rewrite': '',
7+
'absolute_url': True
88
},
99
}
1010
#c.Application.log_level = 'DEBUG'

tests/test_proxies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def request_get(port, path, token):
1111
return h.getresponse()
1212

1313

14-
def test_server_proxy_rewrite():
14+
def test_server_proxy_non_absolute():
1515
r = request_get(PORT, '/python-http/abc', TOKEN)
1616
assert r.code == 200
1717
s = r.read().decode('ascii')

0 commit comments

Comments
 (0)