Chromium Code Reviews| Index: testing_support/filesystem_mock.py |
| diff --git a/testing_support/filesystem_mock.py b/testing_support/filesystem_mock.py |
| index 49f7c890b38a7a1eddeba2f7ec430371c4e91b16..07e1834ffe14aecbfab2441c20db51eb4077e47b 100644 |
| --- a/testing_support/filesystem_mock.py |
| +++ b/testing_support/filesystem_mock.py |
| @@ -46,6 +46,9 @@ class MockFileSystem(object): |
| def exists(self, path): |
| return self.isfile(path) or self.isdir(path) |
| + def isabs(self, path): |
| + return path.startswith(self.sep) |
|
M-A Ruel
2012/12/13 23:25:16
I assume you don't mind if this doesn't pass on Wi
|
| + |
| def isfile(self, path): |
| return path in self.files and self.files[path] is not None |