forked from openlp/openlp
release the key
This commit is contained in:
parent
7e41362ca2
commit
4ee6d014ff
@ -52,7 +52,7 @@ class TestMainWindow(TestCase):
|
||||
|
||||
# WHEN: Press the shortcut.
|
||||
QtTest.QTest.keyPress(self.main_window, QtCore.Qt.Key_F, QtCore.Qt.ControlModifier)
|
||||
QtTest.QTest.keyPress(self.main_window, QtCore.Qt.Key_F, QtCore.Qt.ControlModifier)
|
||||
QtTest.QTest.keyRelease(self.main_window, QtCore.Qt.Key_F, QtCore.Qt.ControlModifier)
|
||||
|
||||
# THEN: The on_focus method should have been called.
|
||||
mocked_current_widget.on_focus.assert_called_with()
|
||||
|
Loading…
Reference in New Issue
Block a user