Typing test (#24651)

This commit is contained in:
Asuka Minato 2025-08-28 10:36:39 +09:00 • committed by GitHub
commit 7995ff1410
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 23 additions and 20 deletions

View file

@ -3,7 +3,6 @@ from typing import Literal
import httpx
import pytest
from _pytest.monkeypatch import MonkeyPatch
from core.helper import ssrf_proxy
@ -30,7 +29,7 @@ class MockedHttp:
@pytest.fixture
def setup_http_mock(request, monkeypatch: MonkeyPatch):
def setup_http_mock(request, monkeypatch: pytest.MonkeyPatch):
monkeypatch.setattr(ssrf_proxy, "make_request", MockedHttp.httpx_request)
yield
monkeypatch.undo()