Update ReviewRequestPageData unit tests for the manual status update bug fix.

Review Request #14447 — Created May 20, 2025 and updated — Latest diff uploaded

Information

Review Board
release-7.1.x

Reviewers

This updates the queries for the ReviewRequestPageDataTests.test_get_entries
unit test to account for the changes from /r/14445. That change fixed
a bug where review request owners weren't able to run manual status
updates on their own review requests. I had originally written the
change on release-7.1.x, but moved it to release-7.x since a customer
who's running 7.0.3 needs it. The ReviewRequestPageDataTests on 7.0.3
don't even check the queries, so this change will make sure the unit
tests are right when we eventually merge the bug fix into 7.1.x.

Ran unit tests.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Update ReviewRequestPageData unit tests for the manual status update bug fix.
This updates the queries for the `ReviewRequestPageDataTests.test_get_entries` unit test to account for the changes from /r/14445. That change fixed a bug where review request owners weren't able to run manual status updates on their own review requests. I had originally written the change on release-7.1.x, but moved it to release-7.x since a customer who's running 7.0.3 needs it. The `ReviewRequestPageDataTests` on 7.0.3 don't even check the queries, so this change will make sure the unit tests are right when we eventually merge the bug fix into 7.1.x.
abf4da1bd50af5591cd0a5a96adaf00b3c8a4df8 Michelle Aubin
reviewboard/reviews/tests/test_review_request_page_data.py
Loading...