MCPcopy Create free account
hub / github.com/AstrBotDevs/AstrBot / local_updator

Function local_updator

tests/test_plugin_manager.py:361–365  ·  view source on GitHub ↗

Helper to setup a local plugin directory simulating a download.

(plugin_manager_pm)

Source from the content-addressed store, hash-verified

359
360@pytest.fixture
361def 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 ---

Callers

nothing calls this directly

Calls 1

_write_local_test_pluginFunction · 0.85

Tested by

no test coverage detected