adapted test test_webapp.py
This commit is contained in:
parent
1146cf76c9
commit
24e530cb11
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ class TestOpenApp(tornado.testing.AsyncHTTPTestCase):
|
|||
|
||||
async def test_permalink_urls(http_server_client, baseline_form):
|
||||
base_url = 'proto://hostname/prefix'
|
||||
permalink_data = generate_permalink(base_url, "/calculator", baseline_form)
|
||||
permalink_data = generate_permalink(base_url, lambda: "", lambda: "/calculator", baseline_form)
|
||||
expected = f'{base_url}/calculator?exposed_coffee_break_option={baseline_form.exposed_coffee_break_option}&'
|
||||
assert permalink_data['link'].startswith(expected)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue