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'