aboutsummaryrefslogtreecommitdiff
path: root/crosperf/download_images_unittest.py
diff options
context:
space:
mode:
authorZhizhou Yang <zhizhouy@google.com>2019-10-09 13:58:12 -0700
committerZhizhou Yang <zhizhouy@google.com>2019-10-09 21:15:34 +0000
commit823580252f352a2fb04abe3e89fa8710eeaff023 (patch)
treec6fb85e375375cbca80abb79b1b115aef9752d6f /crosperf/download_images_unittest.py
parent22755b89b9ce84707c2ee065ee7d37beb28c5952 (diff)
downloadtoolchain-utils-823580252f352a2fb04abe3e89fa8710eeaff023.tar.gz
crosperf: gsutil location changed
Most recently, the checkout location of depot_tools in chromeos has been changed, which will break Crosperf at image downloading. This patch fixes it. BUG=chromium:1012904 TEST=Passed unittests. Change-Id: I60b8de6aa3a34faa8be06aedc8ff169da993d5a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1848858 Commit-Queue: Zhizhou Yang <zhizhouy@google.com> Tested-by: Zhizhou Yang <zhizhouy@google.com> Reviewed-by: Denis Nikitin <denik@chromium.org> Reviewed-by: Tiancong Wang <tcwang@google.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Diffstat (limited to 'crosperf/download_images_unittest.py')
-rwxr-xr-xcrosperf/download_images_unittest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/crosperf/download_images_unittest.py b/crosperf/download_images_unittest.py
index 8d9b9e72..68a84676 100755
--- a/crosperf/download_images_unittest.py
+++ b/crosperf/download_images_unittest.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python2
-#-*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -68,7 +68,7 @@ class ImageDownloaderTestcast(unittest.TestCase):
# Verify we called RunCommand once, with proper arguments.
self.assertEqual(mock_cmd_exec.RunCommand.call_count, 1)
expected_args = (
- '/usr/local/home/chromeos/chromium/tools/depot_tools/gsutil.py '
+ '/usr/local/home/chromeos/src/chromium/depot_tools/gsutil.py '
'cp gs://chromeos-image-archive/lumpy-release/R36-5814.0.0/'
'chromiumos_test_image.tar.xz '
'/usr/local/home/chromeos/chroot/tmp/lumpy-release/R36-5814.0.0')