mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
test(discord): assert global recovery scan cap
Keep the scan-cap regression focused on the invariant instead of depending on per-channel ordering.
This commit is contained in:
parent
80744bc2bc
commit
95ce3344c4
1 changed files with 2 additions and 1 deletions
|
|
@ -449,7 +449,8 @@ async def test_iter_candidates_applies_one_global_scan_limit(adapter, monkeypatc
|
|||
async for msg in adapter._iter_missed_message_backfill_candidates({"123", "456"}):
|
||||
got.append(msg.id)
|
||||
|
||||
assert got == [1, 2, 3]
|
||||
assert len(got) == 3
|
||||
assert set(got).issubset({1, 2, 3, 4})
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue