Add expected query assertions for the ReviewRequestPageData tests.
Review Request #14312 — Created Jan. 29, 2025 and submitted — Latest diff uploaded
In preparation for optimization work on
ReviewRequestPageData
, this
change fleshes out the current test suite with query assertion checks,
and adds some new tests and testing functionality.Review requests bound to repositories now use hosting services, which
ensures a bit more test coverage (and unveils issues surrounding
re-querying of repositories and other objects).This will give us a good foundation for seeing some of the effects of
upcoming optimizations.
Unit tests pass.
reviewboard/reviews/tests/test_review_request_page_data.py |
---|