Home
last modified time | relevance | path

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

/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.py366 def test_jetstream_tpm_not_owned(self, mock_sleep, mock_time, mock_logging): argument
378 def test_jetstream_tpm_not_ready(self, mock_sleep, mock_time, mock_logging): argument
393 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.py143 mock_sleep): argument
161 mock_sleep.reset_mock()
202 self.assertEqual(mock_sleep.call_count, 1)
222 self.assertEqual(mock_sleep.call_count, 0)
Dsuite_runner_unittest.py189 def test_reboot_machine(self, mock_cros_runcmd, mock_sleep): argument
/external/tensorflow/tensorflow/python/training/
Dbasic_session_run_hooks_test.py1305 def test_wait_for_step(self, mock_sleep): argument
1333 mock_sleep.side_effect = mock_sleep_side_effect
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py2942 self, mock_restart, mock_sleep): argument
2952 self.assertEquals(mock_sleep.call_args_list, [