OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 | 5 |
| 6 # TODO(http://crbug.com/660462): this needs to actually do something. |
6 # pylint: disable=E0711, W0613, R0201 | 7 # pylint: disable=E0711, W0613, R0201 |
7 class CodeReview(object): # pragma: no cover | 8 class CodeReview(object): # pragma: no cover |
8 """An interface to interact with code review.""" | 9 """An interface to interact with code review.""" |
9 | 10 |
10 def PostMessage(self, codereview_url, message): | 11 def PostMessage(self, codereview_url, message): |
11 """ Posts the given message to the CL codereview of the specified url. | 12 """Posts the given message to the CL codereview of the specified url. |
12 | 13 |
13 args: | 14 Args: |
14 codereview_url(str): The url to a CL codereview. | 15 codereview_url(str): The url to a CL codereview. |
15 message(str): The message to be posted to the codereview. | 16 message(str): The message to be posted to the codereview. |
16 """ | 17 """ |
17 raise NotImplemented() | 18 raise NotImplemented() |
OLD | NEW |