Chromium Code Reviews| Index: PRESUBMIT_test_mocks.py |
| diff --git a/PRESUBMIT_test_mocks.py b/PRESUBMIT_test_mocks.py |
| index 7d286b9daa13260d70db6b1b43b624067c656381..c80cd5d7067c897a17152d46a2ca8b5928511e76 100644 |
| --- a/PRESUBMIT_test_mocks.py |
| +++ b/PRESUBMIT_test_mocks.py |
| @@ -53,6 +53,9 @@ class MockOutputApi(object): |
| self.items = items |
| self.long_text = long_text |
| + def __repr__(self): |
| + return self.message |
|
Paweł Hajdan Jr.
2015/01/07 16:41:12
Why is this needed?
|
| + |
| class PresubmitError(PresubmitResult): |
| def __init__(self, message, items, long_text=''): |
| MockOutputApi.PresubmitResult.__init__(self, message, items, long_text) |