mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-11-22 13:29:19 +08:00
test(proxy): give the reconcile log tests a fresh guard whatever the module defines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
074561b1d5
commit
d3834fea30
@@ -161,7 +161,9 @@ def _capture_policy_logs(monkeypatch):
|
||||
policy.logger.addHandler(handler)
|
||||
old_level = policy.logger.level
|
||||
policy.logger.setLevel(logging.DEBUG)
|
||||
monkeypatch.setattr(policy, "_reconcile_warned", WarnOnce(32, "test reconcile types"))
|
||||
monkeypatch.setattr(
|
||||
policy, "_reconcile_warned", WarnOnce(32, "test reconcile types"), raising=False
|
||||
)
|
||||
monkeypatch.delenv("HEADROOM_DEBUG_DUMP", raising=False)
|
||||
return policy, records, handler, old_level
|
||||
|
||||
|
||||
Reference in New Issue
Block a user