Skip to content

Commit

Permalink
wip: macos fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JHolba committed Dec 19, 2024
1 parent a397c37 commit f973a74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/ert/unit_tests/gui/run_analysis/test_analysispanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@
import pytest
from PySide6.QtCore import Qt
from PySide6.QtWidgets import QCheckBox, QDoubleSpinBox
from pytestqt.qtbot import QtBot

from ert.config import ESSettings
from ert.gui.ertwidgets.analysismodulevariablespanel import AnalysisModuleVariablesPanel


@pytest.fixture
def panel_with_localization_on(qtbot):
def panel_with_localization_on(qtbot: QtBot):
def func(settings, ensemble_size):
widget = AnalysisModuleVariablesPanel(settings, ensemble_size)
qtbot.addWidget(widget)
widget.show()
check_box = widget.findChild(QCheckBox, name="localization")
qtbot.mouseClick(check_box, Qt.MouseButton.LeftButton)
return settings, widget
Expand Down

0 comments on commit f973a74

Please sign in to comment.