Index: build/android/devil/utils/mock_calls_test.py |
diff --git a/build/android/devil/utils/mock_calls_test.py b/build/android/devil/utils/mock_calls_test.py |
index ae2acbb8322c372d1155d030ab0e242124570145..290c184bf97cc3e29c5641bf5f1a85af6352c125 100755 |
--- a/build/android/devil/utils/mock_calls_test.py |
+++ b/build/android/devil/utils/mock_calls_test.py |
@@ -12,12 +12,11 @@ import os |
import sys |
import unittest |
+from devil import devil_env |
from devil.android.sdk import version_codes |
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=F0401 |