mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
✨ 角色攻略查询添加须弥角色
This commit is contained in:
parent
0addf6fe60
commit
c6baac1659
@ -9,7 +9,7 @@ class GameStrategyService:
|
||||
self._cache = cache
|
||||
self._hyperion = Hyperion()
|
||||
if collections is None:
|
||||
self._collections = [839176, 839179, 839181]
|
||||
self._collections = [839176, 839179, 839181, 1180811]
|
||||
else:
|
||||
self._collections = collections
|
||||
|
||||
|
@ -16,8 +16,8 @@ async def hyperion():
|
||||
@pytest.mark.asyncio
|
||||
@flaky(3, 1)
|
||||
async def test_get_strategy(hyperion):
|
||||
test_collection_id_list = [839176, 839179, 839181]
|
||||
test_result = ["温迪", "胡桃", "雷电将军"]
|
||||
test_collection_id_list = [839176, 839179, 839181, 1180811]
|
||||
test_result = ["温迪", "胡桃", "雷电将军", "柯莱"]
|
||||
|
||||
async def get_post_id(_collection_id: int, character_name: str) -> str:
|
||||
post_full_in_collection = await hyperion.get_post_full_in_collection(_collection_id)
|
||||
|
Loading…
Reference in New Issue
Block a user