fix(huya): 为精英宝典兑换接入代理

This commit is contained in:
yml
2026-11-13 19:17:13 +08:00
parent 711be0e2b6
commit 563b32b7b7
5 changed files with 374 additions and 10 deletions
+2 -2
View File
@@ -216,7 +216,7 @@ def test_runner_uses_points_exchange_service_for_direct_redeem(monkeypatch):
payload={"product_id": "hy-8315982"},
)
marks = []
monkeypatch.setattr(runner, "_http_client", lambda: client)
monkeypatch.setattr(runner, "_http_client", lambda **_kwargs: client)
monkeypatch.setattr(
runner,
"_mark_task",
@@ -269,7 +269,7 @@ def test_runner_waits_points_payment_then_redeems(monkeypatch):
)
marks = []
progress = []
monkeypatch.setattr(runner, "_http_client", lambda: client)
monkeypatch.setattr(runner, "_http_client", lambda **_kwargs: client)
monkeypatch.setattr(
runner,
"_mark_task",