add test cases

This commit is contained in:
yanyongyu
2021-12-16 17:28:57 +08:00
parent acbb886942
commit fe69735ca0
9 changed files with 85 additions and 12 deletions

8
tests/plugins/require.py Normal file
View File

@ -0,0 +1,8 @@
from nonebot import require
from plugins.export import test
from .export import test as test_related
test_require = require("export").test
assert test is test_related and test is test_require, "Export Require Error"