mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
⬆️ 升级至 saa 0.5.0 (#466)
This commit is contained in:
parent
517a9db4d7
commit
a47a60f49c
1509
poetry.lock
generated
1509
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -26,12 +26,12 @@ bs4 = "^0.0.1"
|
||||
expiringdict = "^1.2.1"
|
||||
feedparser = "^6.0.2"
|
||||
httpx = ">=0.16.1"
|
||||
nonebot2 = {version = "^2.0.0", extras = ["fastapi"]}
|
||||
nonebot2 = { version = "^2.0.0", extras = ["fastapi"] }
|
||||
nonebot-adapter-onebot = "^2.0.0"
|
||||
nonebot-plugin-htmlrender = ">=0.2.0"
|
||||
nonebot-plugin-datastore = ">=0.6.2,<2.0.0"
|
||||
nonebot-plugin-apscheduler = ">=0.2,<0.4"
|
||||
nonebot-plugin-send-anything-anywhere = "^0.4.0"
|
||||
nonebot-plugin-send-anything-anywhere = "^0.5.0"
|
||||
pillow = ">=8.1,<11.0"
|
||||
pyjwt = "^2.1.0"
|
||||
python-socketio = "^5.4.0"
|
||||
@ -49,7 +49,7 @@ ruff = ">=0.0.278,<0.0.293"
|
||||
[tool.poetry.group.test.dependencies]
|
||||
flaky = "^3.7.0"
|
||||
nonebug = "^0.3.4"
|
||||
nonebug-saa = {git = "https://github.com/MountainDash/nonebug-saa.git"}
|
||||
nonebug-saa = "^0.4.0"
|
||||
pytest = "^7.0.1"
|
||||
pytest-asyncio = ">=0.18.1,<0.22.0"
|
||||
pytest-cov = ">=3,<5"
|
||||
@ -109,6 +109,8 @@ reportShadowedImports = false
|
||||
pythonVersion = "3.10"
|
||||
pythonPlatform = "All"
|
||||
executionEnvironments = [
|
||||
{ root = "./tests", extraPaths = ["./"] },
|
||||
{ root = "./tests", extraPaths = [
|
||||
"./",
|
||||
] },
|
||||
{ root = "./" },
|
||||
]
|
||||
|
@ -4,11 +4,12 @@ import respx
|
||||
import pytest
|
||||
from httpx import Response
|
||||
from nonebug.app import App
|
||||
from nonebot_plugin_saa import Text, Image, MessageSegmentFactory
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def ms_list():
|
||||
from nonebot_plugin_saa import Text, Image, MessageSegmentFactory
|
||||
|
||||
msg_segments: list[MessageSegmentFactory] = []
|
||||
msg_segments.append(Text("【Zc】每早合约日替攻略!"))
|
||||
msg_segments.append(
|
||||
|
Loading…
x
Reference in New Issue
Block a user