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

Unified Diff: slave/skia_slave_scripts/utils/file_utils_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/utils/file_utils_test.py
diff --git a/slave/skia_slave_scripts/utils/file_utils_test.py b/slave/skia_slave_scripts/utils/file_utils_test.py
index b8b4d6bd4ee96b7f2e9ceaecc6b8b35bddf003b0..8afa8efe12a2f5044ea37fde81bdbf3ed4242b11 100644
--- a/slave/skia_slave_scripts/utils/file_utils_test.py
+++ b/slave/skia_slave_scripts/utils/file_utils_test.py
@@ -9,10 +9,13 @@ import os
import sys
import unittest
-import misc
+BUILDBOT_PATH = os.path.realpath(os.path.join(
+ os.path.dirname(os.path.abspath(__file__)), os.pardir, os.pardir, os.pardir)
+)
+
# Appending to PYTHONPATH to find common.
-sys.path.append(os.path.join(misc.BUILDBOT_PATH, 'third_party',
- 'chromium_buildbot', 'scripts'))
+sys.path.append(os.path.join(BUILDBOT_PATH, 'third_party', 'chromium_buildbot',
+ 'scripts'))
import file_utils
from common import chromium_utils
« no previous file with comments | « slave/skia_slave_scripts/utils/android_utils.py ('k') | slave/skia_slave_scripts/utils/force_update_checkout.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698