mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-06 03:46:10 +08:00
修复单元测试里的小bug
This commit is contained in:
parent
5fd50ddc85
commit
48120836ac
@ -29,9 +29,9 @@ def javanews_post_1():
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_javanews_parser(mcbbsnews, raw_post_list, javanews_post):
|
||||
async def test_javanews_parser(mcbbsnews, raw_post_list, javanews_post_0):
|
||||
post = await mcbbsnews.parse(raw_post_list[3])
|
||||
assert post.text == javanews_post
|
||||
assert post.text == javanews_post_0
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
Loading…
x
Reference in New Issue
Block a user