Update skip reason in client fixture

This commit is contained in:
洛水居室 2023-05-12 11:53:07 +08:00
parent 5f5ce47a8e
commit 39082b4bcd
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ if TYPE_CHECKING:
@pytest_asyncio.fixture
async def genshin_client(genshin_player_id: int, account_id: int, region: "Region", cookies: "Cookies"):
if genshin_player_id is None:
pytest.skip("Test case test_genshin skipped: No starrail player id set.")
pytest.skip("Test case test_genshin skipped: No genshin player id set.")
async with GenshinClient(
player_id=genshin_player_id,
cookies=cookies,

View File

@ -14,7 +14,7 @@ if TYPE_CHECKING:
@pytest_asyncio.fixture
async def genshin_client(genshin_player_id: int, account_id: int, region: "Region", cookies: "Cookies"):
if genshin_player_id is None:
pytest.skip("Test case test_genshin_battle_chronicle_client skipped: No starrail player id set.")
pytest.skip("Test case test_genshin_battle_chronicle_client skipped: No genshin player id set.")
async with GenshinBattleChronicleClient(
player_id=genshin_player_id,
cookies=cookies,

View File

@ -14,7 +14,7 @@ if TYPE_CHECKING:
@pytest_asyncio.fixture
async def calculator_client(genshin_player_id: int, account_id: int, region: "Region", cookies: "Cookies"):
if genshin_player_id is None:
pytest.skip("Test case test_starrail_battle_chronicle_client skipped: No starrail player id set.")
pytest.skip("Test case test_starrail_battle_chronicle_client skipped: No genshin player id set.")
async with CalculatorClient(
player_id=genshin_player_id,
cookies=cookies,