Repoint websocket transport test to core.js after split
The websocket init block moved from script.js into core.js in the module split (PR #352). Test was still hardcoded to the old path.
This commit is contained in:
parent
00f116ebee
commit
d055e53610
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ from pathlib import Path
|
|||
|
||||
|
||||
def test_websocket_client_prefers_polling_before_websocket():
|
||||
script_path = Path(__file__).resolve().parents[1] / "webui" / "static" / "script.js"
|
||||
script_path = Path(__file__).resolve().parents[1] / "webui" / "static" / "core.js"
|
||||
script = script_path.read_text(encoding="utf-8")
|
||||
|
||||
assert "transports: ['polling', 'websocket']" in script
|
||||
|
|
|
|||
Loading…
Reference in a new issue