Index: build/android/pylib/utils/md5sum_test.py |
diff --git a/build/android/pylib/utils/md5sum_test.py b/build/android/pylib/utils/md5sum_test.py |
index de9cd3578705a40d5d0efb5c3420efc9572e22e7..5bdee32b2ff69e3587c43a181316db5f41506d32 100755 |
--- a/build/android/pylib/utils/md5sum_test.py |
+++ b/build/android/pylib/utils/md5sum_test.py |
@@ -24,6 +24,8 @@ class Md5SumTest(unittest.TestCase): |
self._patchers = [ |
mock.patch('pylib.constants.GetOutDirectory', |
new=mock.Mock(return_value=TEST_OUT_DIR)), |
+ mock.patch('os.path.exists', |
+ new=mock.Mock(return_value=True)), |
] |
for p in self._patchers: |
p.start() |