Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/tpu/client/
Dclient_test.py723 sleep_mock = mock.patch.object(time, 'sleep', autospec=True).start()
724 sleep_mock.side_effect = self._mock_sleep
746 self.assertEqual(sleep_mock.call_count, return_time/interval)
753 sleep_mock = mock.patch.object(time, 'sleep', autospec=True).start()
754 sleep_mock.side_effect = self._mock_sleep
/external/toolchain-utils/rust_tools/
Drust_watch_test.py56 def test_update_git_repo_tries_again_on_failure(self, sleep_mock, run_mock): argument
83 self.assertEqual(sleep_mock.mock_calls, sleep_timings)
/external/autotest/client/cros/video/
Dhistogram_verifier_unittest.py91 self.sleep_mock = self.time_patcher.start()
92 self.sleep_mock.side_effect = [True, True, False]