Searched refs:mock_check (Results 1 – 4 of 4) sorted by relevance
/tools/repohooks/rh/ |
D | hooks_unittest.py | 304 def _test_file_filter(self, mock_check, func, files): argument 315 self.assertFalse(mock_check.called) 320 self.assertEqual(ret, mock_check.return_value) 328 def test_bpfmt(self, mock_check, _mock_run): argument 334 self.assertFalse(mock_check.called) 342 def test_checkpatch(self, mock_check, _mock_run): argument 346 self.assertEqual(ret, mock_check.return_value) 348 def test_clang_format(self, mock_check, _mock_run): argument 352 self.assertEqual(ret, mock_check.return_value) 354 def test_google_java_format(self, mock_check, _mock_run): argument [all …]
|
/tools/asuite/aidegen/lib/ |
D | common_util_unittest.py | 193 def test_check_modules(self, mock_check): argument 197 self.assertEqual(mock_check.call_count, 0) 199 self.assertEqual(mock_check.call_count, 2) 201 mock_check.return_value = False
|
/tools/acloud/internal/lib/ |
D | gcompute_client_test.py | 215 mock_check = self.Patch(gcompute_client.ComputeClient, 231 mock_check.assert_called_with(self.IMAGE) 240 mock_check = self.Patch(gcompute_client.ComputeClient, 256 mock_check.assert_called_with(self.IMAGE) 266 mock_check = self.Patch(gcompute_client.ComputeClient, 282 mock_check.assert_called_with(self.IMAGE) 332 def testCreateImageFail(self, mock_wait, mock_check, mock_delete): argument 357 mock_check.assert_called_with(self.IMAGE)
|
/tools/acloud/setup/ |
D | gcp_setup_runner_test.py | 120 def testSetupSSHKeys(self, mock_check, mock_update): argument 133 mock_check.assert_called_once_with(
|