fix: remove stale test (missing pop_pending), add headers to FakeResponse

Follow-up fixes for cherry-pick conflicts:
- Removed test_context_keeps_pending_approval test that referenced
  pop_pending() which doesn't exist on current main
- Added headers attribute to FakeResponse in vision test (needed
  after #6949 added Content-Length check)
This commit is contained in:
Teknium 2026-04-11 01:51:11 -07:00 committed by Teknium
parent ae9a713a0a
commit 7241e6134b
2 changed files with 1 additions and 48 deletions

View file

@ -414,6 +414,7 @@ class TestVisionSafetyGuards:
class FakeResponse:
url = "https://blocked.test/final.png"
headers = {"content-length": "24"}
content = b"\x89PNG\r\n\x1a\n" + b"\x00" * 16
def raise_for_status(self):