Add 3 pic merge

This commit is contained in:
felinae98
2021-08-30 15:26:20 +08:00
parent 97a3502a08
commit ad1bd7f6e0
3 changed files with 12 additions and 4 deletions
+6
View File
@@ -33,3 +33,9 @@ async def test_6_merge(plugin_module):
post = plugin_module.post.Post('', '', '', pics=merge_source_9[0:6]+merge_source_9[9:])
await post._pic_merge()
assert len(post.pics) == 5
@pytest.mark.asyncio
async def test_3_merge(plugin_module):
post = plugin_module.post.Post('', '', '', pics=merge_source_9[0:3]+merge_source_9[9:])
await post._pic_merge()
assert len(post.pics) == 5