def test_debug_button_continue(): """ Ensure the do_run method is called when the continue button is clicked. """ editor = mock.MagicMock() view = mock.MagicMock() dm = DebugMode(editor, view) dm.debugger = mock.MagicMock() dm.button_continue(None) dm.debugger.do_run.assert_called_once_with()
def test_debug_button_continue(): """ Ensure the do_run method is called when the continue button is clicked. """ editor = mock.MagicMock() view = mock.MagicMock() dm = DebugMode(editor, view) dm.debugger = mock.MagicMock() dm.button_continue(None) dm.debugger.do_run.assert_called_once_with()
def test_debug_button_continue(): """ Ensure the do_run method is called when the continue button is clicked. """ editor = mock.MagicMock() view = mock.MagicMock() dm = DebugMode(editor, view) dm.debugger = mock.MagicMock() dm.button_continue(None) dm.debugger.do_run.assert_called_once_with() assert view.current_tab.reset_debugger_highlight.call_count == 1
def test_debug_button_continue(): """ Ensure the do_run method is called when the continue button is clicked. """ editor = mock.MagicMock() view = mock.MagicMock() dm = DebugMode(editor, view) dm.debugger = mock.MagicMock() dm.button_continue(None) dm.debugger.do_run.assert_called_once_with() assert view.current_tab.reset_debugger_highlight.call_count == 1