test(drain): classify 합류 반영 — 거부 케이스를 extract 로 교체
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -152,8 +152,9 @@ async def test_drain_requires_deep_slot(monkeypatch):
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_drain_rejects_non_drain_stage(monkeypatch):
|
||||
"""classify 는 2026-06-12 fair-share 로 DRAIN_STAGES 합류 — 거부 대상은 extract 등."""
|
||||
import workers.queue_drain as qd
|
||||
|
||||
monkeypatch.setattr(qd, "settings", SimpleNamespace(ai=SimpleNamespace(deep=object())))
|
||||
with pytest.raises(SystemExit):
|
||||
await qd.drain("classify", 1)
|
||||
await qd.drain("extract", 1)
|
||||
|
||||
Reference in New Issue
Block a user