Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

test(links): 外链圆标重定向用例的替身绑定本轮记录列表

longmeidaoc4d228132835
diff --git a/tests/test_fastapi_api.py b/tests/test_fastapi_api.py
index c55df453b..e5fce9695 100644
--- a/tests/test_fastapi_api.py
+++ b/tests/test_fastapi_api.py
@@ -1358,7 +1358,7 @@ class FastApiContractTests(unittest.IsolatedAsyncioTestCase):
marker.unlink()
asked = []
- def broken(request, failure=failure):
+ def broken(request, failure=failure, asked=asked):
asked.append(str(request.url))
raise failure
self._swap_http_client(broken)