mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Remove xfail on non-inherit-no-BINDINGS test
This now is fine thanks to #1352 fixing #1351.
This commit is contained in:
@@ -274,9 +274,6 @@ class AppWithScreenWithBindingsWidgetNoBindingsNoInherit(AppKeyRecorder):
|
|||||||
def on_mount(self) -> None:
|
def on_mount(self) -> None:
|
||||||
self.push_screen("main")
|
self.push_screen("main")
|
||||||
|
|
||||||
@pytest.mark.xfail(
|
|
||||||
reason="A child widget that doesn't inherit bindings, but has no bindings, incorrectly defers to its parent class [issue#1351]"
|
|
||||||
)
|
|
||||||
async def test_focused_child_widget_no_inherit_with_movement_bindings_on_screen() -> None:
|
async def test_focused_child_widget_no_inherit_with_movement_bindings_on_screen() -> None:
|
||||||
"""A focused child widget, that doesn't inherit bindings, with movement bindings in the screen, should trigger screen actions."""
|
"""A focused child widget, that doesn't inherit bindings, with movement bindings in the screen, should trigger screen actions."""
|
||||||
async with AppWithScreenWithBindingsWidgetNoBindingsNoInherit().run_test() as pilot:
|
async with AppWithScreenWithBindingsWidgetNoBindingsNoInherit().run_test() as pilot:
|
||||||
|
|||||||
Reference in New Issue
Block a user