diff options
Diffstat (limited to 'packages/meshbay-node/tests/test_audio_root_gates_enrichment.py')
| -rw-r--r-- | packages/meshbay-node/tests/test_audio_root_gates_enrichment.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/meshbay-node/tests/test_audio_root_gates_enrichment.py b/packages/meshbay-node/tests/test_audio_root_gates_enrichment.py index 5a8f9b1..d353d27 100644 --- a/packages/meshbay-node/tests/test_audio_root_gates_enrichment.py +++ b/packages/meshbay-node/tests/test_audio_root_gates_enrichment.py @@ -8,7 +8,7 @@ against a real messy library, where everything under every shared folder got mixed together with no way to scope Music down to just the actual music library. -Setting or changing the root (ops.set_audio_root) fires a one-off sweep +Setting or changing the folder (ops.set_app_directory) fires a one-off sweep (_enrich_audio_root_now) of whatever it already contains — same shape as _enrich_video_root_now. """ @@ -147,7 +147,8 @@ async def test_setting_the_audio_root_sweeps_what_it_already_contains(tmp_path): "groups_ctx": {group_id: {"roots": one_root(shared)}}, "enrich_app_dirs_fns": {"music": daemon._enrich_audio_root_now}, } - await ops.set_audio_root(state, group_id, "shared/Music") + await ops.set_app_directory(state, group_id, "music", + "shared/Music") await asyncio.sleep(0.05) # let the fire-and-forget sweep actually run entry = next(iter(indexer.index.entries)) |