Added automated flag when closing or editing review requests
Review Request #12051 — Created Feb. 10, 2022 and updated — Latest diff uploaded
- Added
automated
flag to multiple methods related to hostingsvcs close
hook,ReviewRequestResourceAPI Update()
, andreview_request.close()
to store the value inChangeDescription
model to track automated
closing of review requests
- Added
automated
flag to
ReviewRequestResourceDraftAPI Update(), Create()
,
review_request.publish()
,draft.publish()
to store the value in
ChangeDescription
model to track automated upddating/publishing
of review requests
- Added
automated
flag to closed/published signals and email-related methods to render the
review_request_email.txt
differently whenautomated=True
- Added codes to
change.html
template to render RB logo in the
review request change entry whenautomated=True
- Added unit tests to
test_email_sending.py
- Added unit tests to
test_review_request.py
- Added unit tests to
test_review_request_draft.py
- Added unit tests to
test_entries.py
- Added unit tests to
webapi/tests/test_review_request.py
- Added unit tests to
webapi/tests/test_review_request_draft.py
- Added assertion to
test_github.py
,test_rbgateway.py
,
test_bitbucket.py
All tests passed.
- Attached screenshots to show changes in close email .txt and
frontend changeEntry.