aboutsummaryrefslogtreecommitdiff
path: root/crosperf/suite_runner_unittest.py
diff options
context:
space:
mode:
Diffstat (limited to 'crosperf/suite_runner_unittest.py')
-rwxr-xr-xcrosperf/suite_runner_unittest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/crosperf/suite_runner_unittest.py b/crosperf/suite_runner_unittest.py
index 413822a2..7f3a7bc4 100755
--- a/crosperf/suite_runner_unittest.py
+++ b/crosperf/suite_runner_unittest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
@@ -14,7 +14,7 @@ import os.path
import time
import unittest
-import mock
+import unittest.mock as mock
import suite_runner
import label
@@ -227,7 +227,7 @@ class SuiteRunnerTest(unittest.TestCase):
self.assertEqual(
args_list[1],
('/usr/bin/test_that --autotest_dir '
- '~/trunk/src/third_party/autotest/files --fast '
+ '/mnt/host/source/src/third_party/autotest/files --fast '
"--board=lumpy --args=' run_local=False test=octane "
'dut_config=\'"\'"\'{"turbostat": true, "top_interval": 3}\'"\'"\' '
'profiler=custom_perf profiler_args=\'"\'"\'record -a -e '