Skip to content

Commit 2145bb7

Browse files
authored
Fix websocket provider in test_pycrdt_yjs.py
1 parent 0239765 commit 2145bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pycrdt_yjs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def test_ypy_yjs_1(yws_server, yjs_client):
8585
nb = stringify_source(json.loads((files_dir / "nb1.ipynb").read_text()))
8686
ynotebook.source = nb
8787
room_name = "my-roomname"
88-
async with aconnect_ws(f"http://localhost:{port}/{room_name}") as websocket, WebsocketProvider(
88+
async with aconnect_ws(f"http://localhost:{port}/{room_name}") as websocket, Provider(
8989
ydoc, Websocket(websocket, room_name)
9090
):
9191
output_text = ynotebook.ycells[0]["outputs"][0]["text"]

0 commit comments

Comments
 (0)