0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

fix(color_button): inheritance changed to QWidget

This commit is contained in:
2024-08-29 15:13:50 +02:00
committed by wyzula_j
parent 9d76d8bf6c
commit 3c0e501c56
4 changed files with 41 additions and 17 deletions

View File

@ -151,7 +151,7 @@ def test_display_current_settings(motor_map_settings):
}
with patch("bec_widgets.utils.widget_io.WidgetIO.set_value") as mock_set_value:
with patch.object(motor_map_settings.ui.color, "setColor") as mock_set_color:
with patch.object(motor_map_settings.ui.color, "set_color") as mock_set_color:
motor_map_settings.display_current_settings(config)
mock_set_value.assert_any_call(motor_map_settings.ui.max_points, config["max_points"])
mock_set_value.assert_any_call(