Helper to setup a local plugin directory simulating a download.
(plugin_manager_pm)
| 359 | |
| 360 | @pytest.fixture |
| 361 | def local_updator(plugin_manager_pm): |
| 362 | """Helper to setup a local plugin directory simulating a download.""" |
| 363 | path = Path(plugin_manager_pm.plugin_store_path) / TEST_PLUGIN_DIR |
| 364 | _write_local_test_plugin(path, TEST_PLUGIN_REPO) |
| 365 | return path |
| 366 | |
| 367 | |
| 368 | # --- Tests --- |
nothing calls this directly
no test coverage detected