Home
last modified time | relevance | path

Searched refs:mock_check (Results 1 – 4 of 4) sorted by relevance

/tools/repohooks/rh/
Dhooks_unittest.py349 def _test_file_filter(self, mock_check, func, files): argument
360 self.assertFalse(mock_check.called)
365 self.assertEqual(ret, mock_check.return_value)
373 def test_bpfmt(self, mock_check, _mock_run): argument
379 self.assertFalse(mock_check.called)
389 def test_checkpatch(self, mock_check, _mock_run): argument
393 self.assertEqual(ret, mock_check.return_value)
395 def test_clang_format(self, mock_check, _mock_run): argument
399 self.assertEqual(ret, mock_check.return_value)
401 def test_google_java_format(self, mock_check, _mock_run): argument
[all …]
/tools/asuite/aidegen/lib/
Dcommon_util_unittest.py194 def test_check_modules(self, mock_check): argument
198 self.assertEqual(mock_check.call_count, 0)
200 self.assertEqual(mock_check.call_count, 2)
202 mock_check.return_value = False
/tools/acloud/internal/lib/
Dgcompute_client_test.py214 mock_check = self.Patch(gcompute_client.ComputeClient,
230 mock_check.assert_called_with(self.IMAGE)
239 mock_check = self.Patch(gcompute_client.ComputeClient,
255 mock_check.assert_called_with(self.IMAGE)
265 mock_check = self.Patch(gcompute_client.ComputeClient,
281 mock_check.assert_called_with(self.IMAGE)
331 def testCreateImageFail(self, mock_wait, mock_check, mock_delete): argument
355 mock_check.assert_called_with(self.IMAGE)
/tools/acloud/setup/
Dgcp_setup_runner_test.py120 def testSetupSSHKeys(self, mock_check, mock_update): argument
133 mock_check.assert_called_once_with(