mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-07-16 21:53:01 +08:00
add new test
This commit is contained in:
parent
51c31637d5
commit
520451ab36
13
tests/test_new.py
Normal file
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=[])
|
Loading…
x
Reference in New Issue
Block a user