Lines Matching refs:mock_chrootruncmd
699 def test_get_keyvals(self, mock_chrootruncmd, mock_runcmd, mock_mkdtemp, argument
708 mock_chrootruncmd.reset_mock()
721 mock_chrootruncmd.return_value = [
725 self.result.ce.ChrootRunCommandWOutput = mock_chrootruncmd
738 self.assertEqual(mock_chrootruncmd.call_count, 1)
740 mock_chrootruncmd.call_args_list[0][0],
749 mock_chrootruncmd.return_value = [
758 self.assertEqual(mock_chrootruncmd.call_count, 1)
776 def test_get_samples(self, mock_chrootruncmd, mock_getpath): argument
781 self.result.ce.ChrootRunCommandWOutput = mock_chrootruncmd
782 mock_chrootruncmd.return_value = ['', '45.42% 237210 chrome ', '']
1232 def test_generate_perf_report_files(self, mock_chrootruncmd, mock_getpath): argument
1237 self.result.ce.ChrootRunCommand = mock_chrootruncmd
1238 mock_chrootruncmd.return_value = 0
1243 self.assertEqual(mock_chrootruncmd.call_args_list[0][0],
1250 def test_generate_perf_report_files_debug(self, mock_chrootruncmd, argument
1256 self.result.ce.ChrootRunCommand = mock_chrootruncmd
1257 mock_chrootruncmd.return_value = 0
1262 self.assertEqual(mock_chrootruncmd.call_args_list[0][0],
1691 def test_store_to_cache_dir(self, mock_chrootruncmd, mock_getpath): argument
1698 if mock_chrootruncmd or mock_getpath: