From 8a3147ef0d6881ca6cfc0e88781c4202a3dc743c Mon Sep 17 00:00:00 2001 From: Orion Date: Fri, 18 Sep 2026 16:17:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(test):=20=E5=9B=BA?= =?UTF-8?q?=E5=AE=9A=E5=8F=96=E4=BB=B6=E7=A0=81=E4=BF=AE=E5=A4=8D=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E5=B9=B6=E9=9A=94=E7=A6=BB=E6=B5=8B=E8=AF=95=E9=99=90?= =?UTF-8?q?=E6=B5=81=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FRONTEND_2026_REVISION | 2 +- tests/test_webdav_offset_upload.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/FRONTEND_2026_REVISION b/FRONTEND_2026_REVISION index 5327244..2f79ff6 100644 --- a/FRONTEND_2026_REVISION +++ b/FRONTEND_2026_REVISION @@ -1 +1 @@ -da54bf40c9f3f7bb18ac5890b4e89e2a01724bd2 +f2461378ef9a103e72d3f8ed6ea4ef6fdaecb32c diff --git a/tests/test_webdav_offset_upload.py b/tests/test_webdav_offset_upload.py index 91019c7..f0bcb67 100644 --- a/tests/test_webdav_offset_upload.py +++ b/tests/test_webdav_offset_upload.py @@ -19,6 +19,8 @@ class WebDAVFixture(unittest.IsolatedAsyncioTestCase): async def asyncSetUp(self): self.original = dict(settings.user_config) await init_memory_db() + from apps.base.utils import ip_limit + for limiter in ip_limit.values(): limiter.ips.clear() self.files = {}; self.calls = []; self.fail_patch = False; self.bad_offset = False; self.fail_delete = False; self.fail_move_reply = False self.supported = True self.block_get = None