mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-09 10:17:56 +08:00
add new test
This commit is contained in:
@@ -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=[])
|
||||
Reference in New Issue
Block a user