From c6baac1659438d4bcadc2da7d19073071003c51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Fri, 16 Sep 2022 21:03:32 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E8=A7=92=E8=89=B2=E6=94=BB?= =?UTF-8?q?=E7=95=A5=E6=9F=A5=E8=AF=A2=E6=B7=BB=E5=8A=A0=E9=A1=BB=E5=BC=A5?= =?UTF-8?q?=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/game/services.py | 2 +- tests/test_game.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/game/services.py b/core/game/services.py index 1c2f603..0552b4b 100644 --- a/core/game/services.py +++ b/core/game/services.py @@ -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 diff --git a/tests/test_game.py b/tests/test_game.py index b7ad280..d17c431 100644 --- a/tests/test_game.py +++ b/tests/test_game.py @@ -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)