| Index: tests/gcl_unittest.py
|
| diff --git a/tests/gcl_unittest.py b/tests/gcl_unittest.py
|
| index ccba856a11a04f34edab145833eabc2ce405f3a5..8f7217898886edfcab3178c7022bfceaed2d82d1 100755
|
| --- a/tests/gcl_unittest.py
|
| +++ b/tests/gcl_unittest.py
|
| @@ -193,14 +193,14 @@ class ChangeInfoUnittest(GclTestsBase):
|
| members = [
|
| 'AddComment', 'CloseIssue', 'Delete', 'Exists', 'GetFiles',
|
| 'GetFileNames', 'GetLocalRoot',
|
| - 'Load',
|
| + 'GetIssueReviewers', 'Load',
|
| 'MissingTests', 'NeedsUpload', 'PrimeLint', 'RpcServer', 'Save',
|
| 'SendToRietveld',
|
| 'SEPARATOR',
|
| 'UpdateDescriptionFromIssue', 'UpdateRietveldDescription',
|
| 'append_line',
|
| 'description', 'force_description', 'get_reviewers', 'issue', 'name',
|
| - 'needs_upload', 'patch', 'patchset', 'rietveld',
|
| + 'needs_upload', 'patch', 'patchset', 'rietveld', 'update_reviewers',
|
| ]
|
| # If this test fails, you should add the relevant test.
|
| self.compareMembers(
|
| @@ -577,6 +577,8 @@ class CMDCommitUnittest(GclTestsBase):
|
| self.mockCommit(
|
| change_info, 'deescription\n\nReview URL: https://my_server/1', '')
|
| change_info.UpdateDescriptionFromIssue()
|
| + change_info.GetIssueReviewers().AndReturn(['a@c'])
|
| + change_info.update_reviewers('a@c')
|
| self.mox.ReplayAll()
|
|
|
| retval = gcl.CMDcommit(['naame'])
|
| @@ -595,6 +597,8 @@ class CMDCommitUnittest(GclTestsBase):
|
| 'deescription\n\nReview URL: https://my_server/1',
|
| '\nCommitted revision 12345')
|
| change_info.UpdateDescriptionFromIssue()
|
| + change_info.GetIssueReviewers().AndReturn(['a@c'])
|
| + change_info.update_reviewers('a@c')
|
| change_info.append_line('Committed: http://view/12345')
|
| self.mox.ReplayAll()
|
|
|
|
|