File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -480,7 +480,13 @@ def test_plugin_in_venv(test_plugin_package_req: str) -> None:
480
480
assert set (loader .namespaces ) == {"installable_plugin" }
481
481
482
482
483
- def test_no_plugin_api (test_plugin_package_req : str ) -> None :
483
+ def test_no_plugin_api (
484
+ test_artifact_path : Path ,
485
+ monkeypatch : pytest .MonkeyPatch ,
486
+ test_plugin_package_req : str ,
487
+ ) -> None :
488
+ monkeypatch .setenv ("PYTHONPATH" , str (test_artifact_path / "test-plugin-package" ))
489
+
484
490
variant_info = VariantInfo (
485
491
namespace_priorities = ["installable_plugin" ],
486
492
providers = {
@@ -490,7 +496,7 @@ def test_no_plugin_api(test_plugin_package_req: str) -> None:
490
496
},
491
497
)
492
498
493
- with PluginLoader (variant_info , use_auto_install = True , isolated = True ) as loader :
499
+ with PluginLoader (variant_info , use_auto_install = False ) as loader :
494
500
assert set (loader .namespaces ) == {"installable_plugin" }
495
501
496
502
You can’t perform that action at this time.
0 commit comments