Lines Matching refs:mock_chroot_runcmd
209 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)
253 args_list = mock_chroot_runcmd.call_args_list[0][0]
254 args_dict = mock_chroot_runcmd.call_args_list[0][1]