Lines Matching defs:mock
9 from unittest import mock
66 apply = d.apply = mock.Mock()
67 destroy = d.destroy = mock.Mock()
75 deactivate = d.deactivate_current_config = mock.Mock()
76 save_ext = d.extpage.save_all_changed_extensions = mock.Mock()
77 activate = d.activate_config_changes = mock.Mock()
96 with mock.patch.object(configdialog, 'view_text',
304 idleConf.CurrentTheme = mock.Mock(return_value='IDLE Classic')
326 idleConf.CurrentTheme = mock.Mock(return_value='test2')
685 del page.paint_theme_sample # Delete masking mock.
809 idleConf.CurrentKeys = mock.Mock(return_value='IDLE Classic OSX')
831 idleConf.CurrentKeys = mock.Mock(return_value='test2')
832 idleConf.default_keys = mock.Mock(return_value='IDLE Modern Unix')
1517 cb = tr.make_callback = mock.Mock(return_value=func)