mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-10-24 11:36:40 +00:00
✅ add test cases
This commit is contained in:
8
tests/plugins/require.py
Normal file
8
tests/plugins/require.py
Normal 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"
|
||||
Reference in New Issue
Block a user