Remove remaining underscore pauses.

These slipped from #2011.
This commit is contained in:
Rodrigo Girão Serrão
2023-03-13 14:10:22 +00:00
parent 40d9997766
commit 009270cd69

View File

@@ -1,4 +1,3 @@
from os import terminal_size
from pathlib import Path
import pytest
@@ -73,8 +72,7 @@ def test_input_and_focus(snap_compare):
"tab",
*"Darren", # Focus first input, write "Darren"
"tab",
*"Burns",
"_", # Tab focus to second input, write "Burns"
*"Burns", # Focus second input, write "Burns"
]
assert snap_compare(WIDGET_EXAMPLES_DIR / "input.py", press=press)
@@ -91,17 +89,17 @@ def test_placeholder_render(snap_compare):
def test_datatable_render(snap_compare):
press = ["tab", "down", "down", "right", "up", "left", "_"]
press = ["tab", "down", "down", "right", "up", "left"]
assert snap_compare(WIDGET_EXAMPLES_DIR / "data_table.py", press=press)
def test_datatable_row_cursor_render(snap_compare):
press = ["up", "left", "right", "down", "down", "_"]
press = ["up", "left", "right", "down", "down"]
assert snap_compare(SNAPSHOT_APPS_DIR / "data_table_row_cursor.py", press=press)
def test_datatable_column_cursor_render(snap_compare):
press = ["left", "up", "down", "right", "right", "_"]
press = ["left", "up", "down", "right", "right"]
assert snap_compare(SNAPSHOT_APPS_DIR / "data_table_column_cursor.py", press=press)