Home
last modified time | relevance | path

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

/external/toolchain-utils/crosperf/
Dsuite_runner_unittest.py209 def test_tast_run(self, mock_chroot_runcmd, mock_cros_runcmd): argument
210 mock_chroot_runcmd.return_value = 0
211 self.mock_cmd_exec.ChrootRunCommandWOutput = mock_chroot_runcmd
215 self.assertEqual(mock_chroot_runcmd.call_count, 1)
219 args_list = mock_chroot_runcmd.call_args_list[0][0]
220 args_dict = mock_chroot_runcmd.call_args_list[0][1]
228 def test_test_that_run(self, mock_log_fatal, mock_chroot_runcmd, argument
242 mock_chroot_runcmd.return_value = 0
243 self.mock_cmd_exec.ChrootRunCommandWOutput = mock_chroot_runcmd
249 self.assertEqual(mock_chroot_runcmd.call_count, 1)
[all …]