⬆️ upgrade pytest-asyncio and fix test (#2436)

This commit is contained in:
Ju4tCode
2023-10-31 17:26:06 +08:00
committed by GitHub
parent af73e14b64
commit af6cc63db2
4 changed files with 650 additions and 577 deletions

View File

@ -19,6 +19,8 @@ os.environ["CONFIG_OVERRIDE"] = "new"
if TYPE_CHECKING:
from nonebot.plugin import Plugin
collect_ignore = ["plugins/", "dynamic/", "bad_plugins/"]
def pytest_configure(config: pytest.Config) -> None:
config.stash[NONEBOT_INIT_KWARGS] = {"config_from_init": "init"}