add got receive tests

This commit is contained in:
yanyongyu
2021-12-21 00:39:12 +08:00
parent d549cdf26a
commit e9b8515cf1
7 changed files with 111 additions and 52 deletions

View File

@ -196,7 +196,7 @@ async def test_matcher(app: App, load_plugin):
event = make_fake_event()()
fake_matcher.set_receive("test", event)
event_next = make_fake_event()()
fake_matcher.set_receive(None, event_next)
fake_matcher.set_receive("", event_next)
async with app.test_dependent(
receive, allow_types=[MatcherParam, DependParam]