nonebot2/tests/test_driver.py

12 lines
194 B
Python
Raw Normal View History

2021-12-22 16:53:55 +08:00
import pytest
@pytest.mark.asyncio
@pytest.mark.parametrize(
"nonebug_init",
[{"driver": "nonebot.drivers.fastapi"}],
indirect=True,
)
async def test_driver(nonebug_init):
...