Please add the option of sudo in pytest.ini. Some scripts require sudo elevation to run in VSCODE and there's no clear way to do this.