File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ def capabilities(self):
295
295
"openClose" : True ,
296
296
},
297
297
"notebookDocumentSync" : {
298
- "notebookSelector" : {"cells" : [{"language" : "python" }]}
298
+ "notebookSelector" : [ {"cells" : [{"language" : "python" }]}]
299
299
},
300
300
"workspace" : {
301
301
"workspaceFolders" : {"supported" : True , "changeNotifications" : True }
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ def test_initialize(client_server_pair):
33
33
},
34
34
).result (timeout = CALL_TIMEOUT_IN_SECONDS )
35
35
assert server .workspace is not None
36
- assert "notebookDocumentSync" in response ["capabilities" ].keys ()
36
+ selector = response ["capabilities" ]["notebookDocumentSync" ]["notebookSelector" ]
37
+ assert isinstance (selector , list )
37
38
38
39
39
40
@pytest .mark .skipif (IS_WIN , reason = "Flaky on Windows" )
You can’t perform that action at this time.
0 commit comments