chore: auto-commit from dashboard
This commit is contained in:
@@ -425,6 +425,9 @@ def test_pending_steers_logged_without_on_text(monkeypatch, caplog):
|
||||
router, "send_message",
|
||||
lambda *a, **kw: (_ for _ in ()).throw(RuntimeError("boom")),
|
||||
)
|
||||
# Local fallback unreachable here — isolates the "no on_text" logging
|
||||
# behavior under test from the (now equally attempted) fallback path.
|
||||
monkeypatch.setattr(router, "_local_fallback_reply", lambda *a, **kw: None)
|
||||
|
||||
with caplog.at_level("WARNING"):
|
||||
result, is_cmd = router.route_message("ch-c3b", "user-1", "hello")
|
||||
|
||||
Reference in New Issue
Block a user