forked from openlp/openlp
mac test fix?
This commit is contained in:
parent
11aa69c9ac
commit
1523d9ffa6
@ -261,6 +261,7 @@ class TestFirstTimeForm(TestCase, TestMixin):
|
|||||||
# GIVEN: An instance of FirstTimeForm
|
# GIVEN: An instance of FirstTimeForm
|
||||||
frw = FirstTimeForm(None)
|
frw = FirstTimeForm(None)
|
||||||
with patch.object(frw, '_set_plugin_status'), patch.object(frw, 'screen_selection_widget'), \
|
with patch.object(frw, '_set_plugin_status'), patch.object(frw, 'screen_selection_widget'), \
|
||||||
|
patch.object(frw, 'setup_ui'), \
|
||||||
patch.object(frw, 'theme_combo_box', **{'currentIndex.return_value': '-1'}):
|
patch.object(frw, 'theme_combo_box', **{'currentIndex.return_value': '-1'}):
|
||||||
|
|
||||||
# WHEN: Calling accept and the currentIndex method of the theme_combo_box returns -1
|
# WHEN: Calling accept and the currentIndex method of the theme_combo_box returns -1
|
||||||
|
Loading…
Reference in New Issue
Block a user