角色攻略查询添加须弥角色

This commit is contained in:
洛水居室 2022-09-16 21:03:32 +08:00
parent 0addf6fe60
commit c6baac1659
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ class GameStrategyService:
self._cache = cache self._cache = cache
self._hyperion = Hyperion() self._hyperion = Hyperion()
if collections is None: if collections is None:
self._collections = [839176, 839179, 839181] self._collections = [839176, 839179, 839181, 1180811]
else: else:
self._collections = collections self._collections = collections

View File

@ -16,8 +16,8 @@ async def hyperion():
@pytest.mark.asyncio @pytest.mark.asyncio
@flaky(3, 1) @flaky(3, 1)
async def test_get_strategy(hyperion): async def test_get_strategy(hyperion):
test_collection_id_list = [839176, 839179, 839181] test_collection_id_list = [839176, 839179, 839181, 1180811]
test_result = ["温迪", "胡桃", "雷电将军"] test_result = ["温迪", "胡桃", "雷电将军", "柯莱"]
async def get_post_id(_collection_id: int, character_name: str) -> str: 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) post_full_in_collection = await hyperion.get_post_full_in_collection(_collection_id)