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):
7070 test_uri = uris .from_fs_path (os .path .join (project_root , "hello/test.py" ))
7171 pylsp .workspace .put_document (test_uri , "assert True" )
7272 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 ()
7474
7575
7676def test_root_project_with_no_setup_py (pylsp ):
@@ -79,7 +79,7 @@ def test_root_project_with_no_setup_py(pylsp):
7979 test_uri = uris .from_fs_path (os .path .join (workspace_root , "hello/test.py" ))
8080 pylsp .workspace .put_document (test_uri , "assert True" )
8181 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 ()
8383
8484
8585def test_multiple_workspaces_from_initialize (pylsp_w_workspace_folders ):
You can’t perform that action at this time.
0 commit comments