| Index: build/android/devil/android/sdk/shared_prefs_test.py
|
| diff --git a/build/android/devil/android/sdk/shared_prefs_test.py b/build/android/devil/android/sdk/shared_prefs_test.py
|
| index 3456174847183732a93a7fb37e6c34b9d9f6a2ee..bf36e433196f7720f8319dcb261bbcadaba57cb4 100755
|
| --- a/build/android/devil/android/sdk/shared_prefs_test.py
|
| +++ b/build/android/devil/android/sdk/shared_prefs_test.py
|
| @@ -18,7 +18,7 @@ from pylib import constants
|
|
|
| sys.path.append(os.path.join(
|
| constants.DIR_SOURCE_ROOT, 'third_party', 'pymock'))
|
| -import mock
|
| +import mock # pylint: disable=import-error
|
|
|
|
|
| def MockDeviceWithFiles(files=None):
|
| @@ -28,9 +28,11 @@ def MockDeviceWithFiles(files=None):
|
| def file_exists(path):
|
| return path in files
|
|
|
| + # pylint: disable=unused-argument
|
| def write_file(path, contents, **_kwargs):
|
| files[path] = contents
|
|
|
| + # pylint: disable=unused-argument
|
| def read_file(path, **_kwargs):
|
| return files[path]
|
|
|
|
|