mirror of
https://github.com/PaiGramTeam/SIMNet.git
synced 2024-11-22 06:17:57 +00:00
✅ Update skip reason in client fixture
This commit is contained in:
parent
5f5ce47a8e
commit
39082b4bcd
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user