Lines Matching refs:mock_get_ide
167 self, mock_get_ide, mock_launch_ide): argument
172 self.assertFalse(mock_get_ide.called)
178 self, mock_get_ide, mock_launch_ide): argument
183 mock_get_ide.return_value = None
185 self.assertTrue(mock_get_ide.called_with('c'))
187 mock_get_ide.reset_mock()
191 self.assertTrue(mock_get_ide.called_with('c'))
193 mock_get_ide.reset_mock()
195 mock_get_ide.return_value = 'some_native_obj'
197 self.assertTrue(mock_get_ide.called_with('c'))
199 mock_get_ide.reset_mock()
203 self.assertTrue(mock_get_ide.called_with('c'))
205 mock_get_ide.reset_mock()
209 self.assertFalse(mock_get_ide.called)
382 self, mock_get_rel, mock_gen_code, mock_get_ide): argument
389 self.assertTrue(mock_get_ide.called)
397 self, mock_get_rel, mock_gen_code, mock_get_ide, mock_vscode): argument
403 self.assertFalse(mock_get_ide.called)
508 def test_aidegen_main(self, mock_config, mock_get_ide, mock_mod_info, argument
518 mock_get_ide.return_value = ide
522 self.assertTrue(mock_get_ide.called)
530 mock_get_ide.mock_reset()
540 self.assertTrue(mock_get_ide.called)