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

Unified Diff: build/android/devil/android/fastboot_utils_test.py

Issue 1416703003: [Android] Add a configurable environment for devil/. (RELAND 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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: build/android/devil/android/fastboot_utils_test.py
diff --git a/build/android/devil/android/fastboot_utils_test.py b/build/android/devil/android/fastboot_utils_test.py
index ff2c5011a35709e4577fec69366d0c5b5c128b47..67d5c6473acd2456ee43e8c13776df32cde9d002 100755
--- a/build/android/devil/android/fastboot_utils_test.py
+++ b/build/android/devil/android/fastboot_utils_test.py
@@ -11,19 +11,17 @@ Unit tests for the contents of fastboot_utils.py
import io
import logging
-import os
import sys
import unittest
+from devil import devil_env
from devil.android import device_errors
from devil.android import device_utils
from devil.android import fastboot_utils
from devil.android.sdk import fastboot
from devil.utils import mock_calls
-from pylib import constants
-sys.path.append(os.path.join(
- constants.DIR_SOURCE_ROOT, 'third_party', 'pymock'))
+sys.path.append(devil_env.config.LocalPath('pymock'))
import mock # pylint: disable=import-error
_BOARD = 'board_type'
« no previous file with comments | « build/android/devil/android/device_utils_test.py ('k') | build/android/devil/android/logcat_monitor_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698