Home
last modified time | relevance | path

Searched refs:mock_sleep (Results 1 – 9 of 9) sorted by relevance

/external/toolchain-utils/cros_utils/
Ddevice_setup_utils_unittest.py472 def test_wait_cooldown_nowait(self, mock_sleep): argument
473 mock_sleep.return_value = 0
481 mock_sleep.assert_not_called()
485 def test_wait_cooldown_needwait_once(self, mock_sleep): argument
493 mock_sleep.return_value = 0
501 mock_sleep.assert_called()
505 def test_wait_cooldown_needwait(self, mock_sleep): argument
512 mock_sleep.return_value = 0
519 mock_sleep.assert_called()
523 def test_wait_cooldown_needwait_multtemp(self, mock_sleep): argument
[all …]
/external/toolchain-utils/llvm_tools/
Dauto_llvm_bisection_unittest.py55 mock_llvm_bisection, mock_traceback, mock_sleep, mock_outside_chroot): argument
78 self.assertEqual(mock_sleep.call_count, 2)
111 mock_llvm_bisection, mock_traceback, mock_sleep, mock_outside_chroot, argument
168 mock_sleep.assert_called_once()
198 self, mock_get_args, mock_get_auto_script, mock_is_file, mock_sleep, argument
226 mock_sleep.assert_called_once()
/external/python/cpython3/Lib/test/
Dtest_dummy_thread.py87 def test_acquire_timeout(self, mock_sleep): argument
94 self.assertTrue(mock_sleep.called)
95 mock_sleep.assert_called_once_with(1)
/external/autotest/server/hosts/
Dcros_repair_unittest.py368 def test_jetstream_tpm_not_owned(self, mock_sleep, mock_time, mock_logging): argument
380 def test_jetstream_tpm_not_ready(self, mock_sleep, mock_time, mock_logging): argument
395 def test_jetstream_cryptohome_missing(self, mock_sleep, mock_time, argument
/external/python/oauth2client/tests/contrib/
Dtest_locked_file.py150 def test_lock_retry_success(self, mock_sleep, mock_time, mock_open): argument
163 mock_sleep.assert_called_with(1)
/external/toolchain-utils/crosperf/
Dmachine_manager_unittest.py146 mock_sleep): argument
164 mock_sleep.reset_mock()
205 self.assertEqual(mock_sleep.call_count, 1)
225 self.assertEqual(mock_sleep.call_count, 0)
Dexperiment_runner_unittest.py148 def test_run(self, mock_progress_string, mock_status_string, mock_sleep, argument
153 mock_sleep.return_value = None
/external/tensorflow/tensorflow/python/training/
Dbasic_session_run_hooks_test.py1346 def test_wait_for_step(self, mock_sleep): argument
1374 mock_sleep.side_effect = mock_sleep_side_effect
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py3162 self, mock_restart, mock_sleep): argument
3172 self.assertEquals(mock_sleep.call_args_list, [
3178 self, mock_restart, mock_sleep): argument
3196 self.assertEquals(mock_sleep.call_args_list, [