aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_video_root_gates_enrichment.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/tests/test_video_root_gates_enrichment.py')
-rw-r--r--packages/meshbay-node/tests/test_video_root_gates_enrichment.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/meshbay-node/tests/test_video_root_gates_enrichment.py b/packages/meshbay-node/tests/test_video_root_gates_enrichment.py
index df86a79..9cfb819 100644
--- a/packages/meshbay-node/tests/test_video_root_gates_enrichment.py
+++ b/packages/meshbay-node/tests/test_video_root_gates_enrichment.py
@@ -108,8 +108,8 @@ async def test_only_entries_under_the_configured_root_are_enriched(tmp_path):
await asyncio.sleep(0.05)
by_name = {e.name: e for e in indexer.index.entries}
- assert by_name["in-root.mkv"].id in daemon._enriched_attempted
- assert by_name["outside.mkv"].id not in daemon._enriched_attempted, (
+ assert (group_id, by_name["in-root.mkv"].id) in daemon._enriched_attempted
+ assert (group_id, by_name["outside.mkv"].id) not in daemon._enriched_attempted, (
"a file outside the configured video_root must never be enriched")
finally:
await _teardown(daemon)
@@ -146,7 +146,7 @@ async def test_setting_the_video_root_sweeps_what_it_already_contains(tmp_path):
await asyncio.sleep(0.05) # let the fire-and-forget sweep actually run
entry = next(iter(indexer.index.entries))
- assert entry.id in daemon._enriched_attempted, (
+ assert (group_id, entry.id) in daemon._enriched_attempted, (
"a file already sitting in the newly-chosen root must be picked "
"up by the sweep, not wait for some unrelated future change")
finally: