Searched refs:mock_cleanup (Results 1 – 2 of 2) sorted by relevance
/external/autotest/server/hosts/ |
D | jetstream_host_unittest.py | 18 def test_cleanup(self, mock_cleanup, mock_exception_logging): argument 21 mock_cleanup.assert_called_with() 26 def test_failed_cleanup(self, mock_cleanup, mock_exception_logging): argument 27 mock_cleanup.side_effect = error.AutoservRunError('failed', None) 30 mock_cleanup.assert_called_with()
|
/external/toolchain-utils/crosperf/ |
D | experiment_runner_unittest.py | 401 def test_store_results(self, mock_cleanup, mock_copy, _mock_text_report, argument 421 self.assertEqual(mock_cleanup.call_count, 0) 436 self.assertEqual(mock_cleanup.call_count, 6) 437 mock_cleanup.called_with(bench_run.benchmark.rm_chroot_tmp)
|