add new test

This commit is contained in:
felinae98 2022-02-09 19:20:31 +08:00
parent 51c31637d5
commit 520451ab36
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

13
tests/test_new.py Normal file

@ -0,0 +1,13 @@
import pytest
def test_add(n_plugin_module):
from nonebot_bison.config import Config
config = Config()
config.add_subscribe(
user='123',
user_type='group',
target='weibo_id',
target_name='weibo_name',
target_type='weibo',
cats=[],
tags=[])