Fix frontend test again (#90754)
This commit is contained in:
parent
6e4c78686e
commit
79101b31d5
1 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ async def test_frontend_and_static(mock_http_client, mock_onboarded) -> None:
|
|||
text = await resp.text()
|
||||
|
||||
# Test we can retrieve frontend.js
|
||||
frontendjs = re.search(r"(?P<app>\/frontend_es5\/app.[A-Za-z0-9_]{11}.js)", text)
|
||||
frontendjs = re.search(r"(?P<app>\/frontend_es5\/app.[A-Za-z0-9_-]{11}.js)", text)
|
||||
|
||||
assert frontendjs is not None, text
|
||||
resp = await mock_http_client.get(frontendjs.groups(0)[0])
|
||||
|
@ -546,7 +546,7 @@ async def test_auth_authorize(mock_http_client) -> None:
|
|||
|
||||
# Test we can retrieve authorize.js
|
||||
authorizejs = re.search(
|
||||
r"(?P<app>\/frontend_latest\/authorize.[A-Za-z0-9_]{11}.js)", text
|
||||
r"(?P<app>\/frontend_latest\/authorize.[A-Za-z0-9_-]{11}.js)", text
|
||||
)
|
||||
|
||||
assert authorizejs is not None, text
|
||||
|
|
Loading…
Add table
Reference in a new issue