Searched refs:mock_path_exists (Results 1 – 2 of 2) sorted by relevance
47 def test_download_image(self, mock_path_exists, mock_mkdirs): argument62 mock_path_exists.return_value = False73 self.assertEqual(mock_path_exists.call_count, 3)74 mock_path_exists.assert_any_call(80 mock_path_exists.assert_any_call(85 mock_path_exists.assert_any_call("/etc/cros_chroot_version")108 mock_path_exists.reset_mock()110 mock_path_exists.side_effect = lambda x: x != "/etc/cros_chroot_version"116 self.assertEqual(mock_path_exists.call_count, 3)117 mock_path_exists.assert_called_with([all …]
505 def testCreateFromRun(self, mock_path_exists): argument506 mock_path_exists.side_effect = lambda x: x != "/etc/cros_chroot_version"