Home
last modified time | relevance | path

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

/tools/repohooks/rh/
Dhooks_unittest.py269 def _test_file_filter(self, mock_check, func, files): argument
280 self.assertFalse(mock_check.called)
285 self.assertEqual(ret, mock_check.return_value)
293 def test_checkpatch(self, mock_check, _mock_run): argument
297 self.assertEqual(ret, mock_check.return_value)
299 def test_clang_format(self, mock_check, _mock_run): argument
303 self.assertEqual(ret, mock_check.return_value)
305 def test_google_java_format(self, mock_check, _mock_run): argument
309 self.assertEqual(ret, mock_check.return_value)
466 def test_cpplint(self, mock_check, _mock_run): argument
[all …]
/tools/asuite/aidegen/lib/
Dcommon_util_unittest.py107 def test_check_modules(self, mock_check): argument
111 self.assertEqual(mock_check.call_count, 0)
113 self.assertEqual(mock_check.call_count, 2)
115 mock_check.return_value = False
/tools/acloud/internal/lib/
Dgcompute_client_test.py210 mock_check = self.Patch(gcompute_client.ComputeClient,
226 mock_check.assert_called_with(self.IMAGE)
235 mock_check = self.Patch(gcompute_client.ComputeClient,
251 mock_check.assert_called_with(self.IMAGE)
261 mock_check = self.Patch(gcompute_client.ComputeClient,
277 mock_check.assert_called_with(self.IMAGE)
327 def testCreateImageFail(self, mock_wait, mock_check, mock_delete): argument
351 mock_check.assert_called_with(self.IMAGE)