File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 7
7
import pytest
8
8
from anyio import Event , create_task_group , move_on_after
9
9
from httpx_ws import aconnect_ws
10
- from pycrdt import Doc , Map
11
- from pycrdt .websocket import WebsocketProvider
10
+ from pycrdt import Doc , Map , Provider
12
11
from utils import Websocket
13
12
14
13
from jupyter_ydoc import YNotebook
@@ -66,7 +65,7 @@ async def test_ypy_yjs_0(yws_server, yjs_client):
66
65
ydoc = Doc ()
67
66
ynotebook = YNotebook (ydoc )
68
67
room_name = "my-roomname"
69
- async with aconnect_ws (f"http://localhost:{ port } /{ room_name } " ) as websocket , WebsocketProvider (
68
+ async with aconnect_ws (f"http://localhost:{ port } /{ room_name } " ) as websocket , Provider (
70
69
ydoc , Websocket (websocket , room_name )
71
70
):
72
71
nb = stringify_source (json .loads ((files_dir / "nb0.ipynb" ).read_text ()))
You can’t perform that action at this time.
0 commit comments