mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Fix a couple of copy/paste-o docstrings
This commit is contained in:
@@ -31,7 +31,7 @@ async def test_checkbox_initial_state() -> None:
|
||||
|
||||
|
||||
async def test_checkbox_toggle() -> None:
|
||||
"""The initial states of the check boxes should be as we specified."""
|
||||
"""The states of the check boxes after they've been toggled."""
|
||||
async with CheckboxApp().run_test() as pilot:
|
||||
for box in pilot.app.query(Checkbox):
|
||||
box.toggle()
|
||||
|
||||
@@ -35,7 +35,7 @@ async def test_radio_button_initial_state() -> None:
|
||||
|
||||
|
||||
async def test_radio_button_toggle() -> None:
|
||||
"""The initial states of the radio buttons should be as we specified."""
|
||||
"""The states of the radio buttons after they've been toggled."""
|
||||
async with RadioButtonApp().run_test() as pilot:
|
||||
for box in pilot.app.query(RadioButton):
|
||||
box.toggle()
|
||||
|
||||
Reference in New Issue
Block a user