From dfad6aa6d992e124e2dfdaeee43d30991a746b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Pe=C3=B1a-Castellanos?= Date: Tue, 7 Jan 2025 22:35:03 -0500 Subject: [PATCH] test --- napari_plugin_manager/_tests/test_qt_plugin_dialog.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/napari_plugin_manager/_tests/test_qt_plugin_dialog.py b/napari_plugin_manager/_tests/test_qt_plugin_dialog.py index 1665c1b..8bfd756 100644 --- a/napari_plugin_manager/_tests/test_qt_plugin_dialog.py +++ b/napari_plugin_manager/_tests/test_qt_plugin_dialog.py @@ -634,7 +634,7 @@ def test_export_plugins(plugin_dialog, tmp_path): @pytest.mark.skipif( not sys.platform.startswith('linux'), reason="Test works only on linux" ) -def test_import_plugins_button(plugin_dialog, tmp_path, qtbot): +def test_import_plugins(plugin_dialog, tmp_path, qtbot): def _timer(): dialog = QApplication.activeModalWidget() dialog.reject() @@ -645,11 +645,6 @@ def _timer(): timer.start(4_000) plugin_dialog.import_button.click() - path = tmp_path / 'plugins.txt' - path.write_text('requests\npyzenhub\n') - with qtbot.waitSignal(plugin_dialog.installer.allFinished, timeout=60_000): - plugin_dialog.import_plugins(str(path)) - def test_import_plugins(plugin_dialog, tmp_path, qtbot): path = tmp_path / 'plugins.txt'