Skip to content

Commit ce3afbd

Browse files
committed
Fix put_cell_document test
1 parent a832b3c commit ce3afbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_workspace.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88

99
DOC_URI = uris.from_fs_path(__file__)
10+
NOTEBOOK_URI = uris.from_fs_path('notebook_uri')
1011

1112

1213
def path_as_uri(path):
@@ -29,7 +30,7 @@ def test_put_notebook_document(pylsp):
2930

3031

3132
def test_put_cell_document(pylsp):
32-
pylsp.workspace.put_cell_document(DOC_URI, 'python', 'content')
33+
pylsp.workspace.put_cell_document(DOC_URI, NOTEBOOK_URI, 'python', 'content')
3334
assert DOC_URI in pylsp.workspace._docs
3435

3536

0 commit comments

Comments
 (0)