File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def test_non_root_project(pylsp, metafiles):
70
70
test_uri = uris .from_fs_path (os .path .join (project_root , "hello/test.py" ))
71
71
pylsp .workspace .put_document (test_uri , "assert True" )
72
72
test_doc = pylsp .workspace .get_document (test_uri )
73
- assert project_root in test_doc .sys_path ()
73
+ assert project_root in test_doc .get_enviroment (). get_sys_path ()
74
74
75
75
76
76
def test_root_project_with_no_setup_py (pylsp ):
@@ -79,7 +79,7 @@ def test_root_project_with_no_setup_py(pylsp):
79
79
test_uri = uris .from_fs_path (os .path .join (workspace_root , "hello/test.py" ))
80
80
pylsp .workspace .put_document (test_uri , "assert True" )
81
81
test_doc = pylsp .workspace .get_document (test_uri )
82
- assert workspace_root in test_doc .sys_path ()
82
+ assert workspace_root in test_doc .get_enviroment (). get_sys_path ()
83
83
84
84
85
85
def test_multiple_workspaces_from_initialize (pylsp_w_workspace_folders ):
You can’t perform that action at this time.
0 commit comments