def show_topic_edit_mode(self, button: Any) -> None: self.show_pop_up(EditModeView(self, button), 'area:msg')
def edit_mode_view(self, mocker): controller = mocker.Mock() controller.maximum_popup_dimensions.return_value = (64, 64) mocker.patch(VIEWS + ".urwid.SimpleFocusListWalker", return_value=[]) button = mocker.Mock() return EditModeView(controller, button)
def edit_mode_view(self, mocker): controller = mocker.Mock() controller.maximum_popup_dimensions.return_value = (64, 64) mocker.patch(LISTWALKER, return_value=[]) button = mocker.Mock() return EditModeView(controller, button)