Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: slave/skia_slave_scripts/upload_bench_results_test.py

Issue 344183004: Use new common utils where possible. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: slave/skia_slave_scripts/upload_bench_results_test.py
diff --git a/slave/skia_slave_scripts/upload_bench_results_test.py b/slave/skia_slave_scripts/upload_bench_results_test.py
index c902f40e6d9dd65d0a1943f55d10d0c9d7af14b0..4a100449273ce99a275e50ebc188a108d1266a55 100644
--- a/slave/skia_slave_scripts/upload_bench_results_test.py
+++ b/slave/skia_slave_scripts/upload_bench_results_test.py
@@ -9,14 +9,16 @@ import os
import sys
import unittest
-from utils import misc
+BUILDBOT_PATH = os.path.realpath(os.path.join(
+ os.path.dirname(os.path.abspath(__file__)), os.pardir, os.pardir))
+
# Appending to PYTHONPATH to find common and config.
-sys.path.append(os.path.join(misc.BUILDBOT_PATH, 'third_party',
+sys.path.append(os.path.join(BUILDBOT_PATH, 'third_party',
'chromium_buildbot', 'scripts'))
-sys.path.append(os.path.join(misc.BUILDBOT_PATH, 'third_party',
+sys.path.append(os.path.join(BUILDBOT_PATH, 'third_party',
'chromium_buildbot', 'site_config'))
-sys.path.append(os.path.join(misc.BUILDBOT_PATH, 'third_party',
- 'chromium_buildbot', 'third_party', 'twisted_8_1'))
+sys.path.append(os.path.join(BUILDBOT_PATH, 'third_party', 'chromium_buildbot',
+ 'third_party', 'twisted_8_1'))
import upload_bench_results
« no previous file with comments | « slave/skia_slave_scripts/upload_bench_results_appengine.py ('k') | slave/skia_slave_scripts/utils/android_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698