aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-09 09:49:55 +0200
committerDanilo M. <danix@danix.xyz>2026-09-09 09:49:55 +0200
commit01e69c492a5771939d1b1a8efd93f3ebb7cbe72c (patch)
treeab06cce602d0ef66dd6764e960809d14f307f244 /README.md
parent8df4c6cd0867feb8bca22647ed024349442528da (diff)
downloadabusectl-01e69c492a5771939d1b1a8efd93f3ebb7cbe72c.tar.gz
abusectl-01e69c492a5771939d1b1a8efd93f3ebb7cbe72c.zip
test: make the offline resolve check tamper-evident
The test asserted only that resolve() returned one entry. It returns one entry whether the injected fetch answered or the real transport was blocked, because resolve() records a transport failure as a per-entry error rather than raising. So the assertion would have stayed green if someone removed the injection, which is the one thing the test exists to notice. It now asserts the handle that only the injected fetch can produce. Removing the injection fails with KeyError: 'handle'. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Wrfqr2xqQfhtXCscU7zrdz
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions