Fix line-too-long lint errors in IF mode tests
This commit is contained in:
parent
b133f2febe
commit
8a8e3dd6e8
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ def test_player_if_session_can_be_set(player):
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
async def test_if_mode_routes_input_to_if_session(player):
|
async def test_if_mode_routes_input_to_if_session(player):
|
||||||
"""When mode is 'if' and if_session is set, input routes to if_session.handle_input."""
|
"""Input routes to if_session.handle_input in IF mode."""
|
||||||
# Create a mock IF session
|
# Create a mock IF session
|
||||||
mock_session = MagicMock()
|
mock_session = MagicMock()
|
||||||
mock_session.handle_input = AsyncMock(
|
mock_session.handle_input = AsyncMock(
|
||||||
|
|
@ -105,7 +105,7 @@ async def test_mode_stack_push_and_pop_for_if(player):
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
async def test_empty_input_allowed_in_if_mode(player):
|
async def test_empty_input_allowed_in_if_mode(player):
|
||||||
"""Test that empty input is allowed in IF mode (some IF games accept blank input)."""
|
"""Empty input is allowed in IF mode."""
|
||||||
# Create a mock IF session
|
# Create a mock IF session
|
||||||
mock_session = MagicMock()
|
mock_session = MagicMock()
|
||||||
mock_session.handle_input = AsyncMock(
|
mock_session.handle_input = AsyncMock(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue