summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT_unittest.py
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 14:25:54 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-05 14:25:54 +0000
commitfe5f57c5cd60ab11df4f75060eab05d677131be8 (patch)
tree0b515275dd587f76f52e16e7fe14506d45698455 /PRESUBMIT_unittest.py
parentb5eb6d85a1adfbcb49aed9a77e18dc5c8378f2de (diff)
downloadchromium_src-fe5f57c5cd60ab11df4f75060eab05d677131be8.zip
chromium_src-fe5f57c5cd60ab11df4f75060eab05d677131be8.tar.gz
chromium_src-fe5f57c5cd60ab11df4f75060eab05d677131be8.tar.bz2
Add the tree check there instead of implementing it in the root PRESUBMIT.py.
TEST=none BUG=none Review URL: http://codereview.chromium.org/119201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT_unittest.py')
-rwxr-xr-xPRESUBMIT_unittest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/PRESUBMIT_unittest.py b/PRESUBMIT_unittest.py
index 56e862e..32ff4c3 100755
--- a/PRESUBMIT_unittest.py
+++ b/PRESUBMIT_unittest.py
@@ -40,6 +40,9 @@ class MockAffectedFile(object):
def LocalPath(self):
return self.path
+ def AbsoluteLocalPath(self):
+ return self.path
+
class MockOutputApi(object):
class PresubmitError(object):