From 26bbb1f072644aeb42717f1d94abea6c0003bccd Mon Sep 17 00:00:00 2001 From: uy/sun Date: Sat, 20 Apr 2024 22:48:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(plugin=5Ftest):=20=E4=BF=AE=E5=A4=8D=20Fake?= =?UTF-8?q?=20Driver=20=E7=9A=84=20server=5Fapp=20=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E6=8A=9B=E5=87=BA=E5=BC=82=E5=B8=B8=E5=AF=BC=E8=87=B4=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=8F=92=E4=BB=B6=E6=B5=8B=E8=AF=95=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#214)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ src/utils/plugin_test.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c3e0199..abff912b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/lang/zh-CN/ ## [Unreleased] +### Fixed + +- 修复 Fake Driver 的 server_app 方法抛出异常导致部分插件测试报错的问题 + ## [3.3.0] - 2024-04-16 ### Added diff --git a/src/utils/plugin_test.py b/src/utils/plugin_test.py index f84d8499..8990dde1 100644 --- a/src/utils/plugin_test.py +++ b/src/utils/plugin_test.py @@ -59,7 +59,7 @@ def run(self, *args, **kwargs): @property @override def server_app(self): - raise NotImplementedError + return None @property @override