Skip to content

Commit

Permalink
fixup! app/terminalpage: load search module on demand
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Jan 16, 2025
1 parent 7f3e821 commit 39207b3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,22 +369,12 @@ def test_tab_title_edit_leak(
hide_edge=['window_title_binding', '_title_binding']
) == ''

@pytest.mark.usefixtures('hide')
@pytest.mark.usefixtures('hide', 'common_init')
def test_tab_search_leak(
self,
app_debug_dbus_interface,
extension_dbus_interface,
extension_test_hook,
shell_test_hook,
tmp_path,
):
extension_dbus_interface.Activate(timeout=dbusutil.DEFAULT_LONG_TIMEOUT_MS)
extension_test_hook.wait_property('RenderedFirstFrame', True)
app_debug_dbus_interface.wait_connected()
app_debug_dbus_interface.WaitFrame()
app_debug_dbus_interface.WaitIdle()
shell_test_hook.WaitLeisure()

n_tabs = app_debug_dbus_interface.NumTabs
dump_pre = tmp_path / 'heap-pre.dump'
dump_post = tmp_path / 'heap-post.dump'
Expand Down

0 comments on commit 39207b3

Please sign in to comment.