Update API testing to use common equery functions.
Review Request #13433 — Created Nov. 26, 2023 and submitted
The API unit tests now make use of some of the existing equery utility
functions, as well as providing a couple new functions for handling
incoming requests and outgoing responses.This significantly reduces the code required for query assertions in the
API, and will make the logic more maintainable going forward.
All unit tests pass.
Summary | ID |
---|---|
ac70de3bdc8fed8edc3c17fcb47f14534cdf6ec7 |
Description | From | Last Updated |
---|---|---|
'reviewboard.reviews.testing.queries.review_requests.get_review_requests_accessible_equeries' imported but unused Column: 1 Error code: F401 |
reviewbot | |
'reviewboard.reviews.testing.queries.review_requests.get_review_requests_accessible_prep_equeries' imported but unused Column: 1 Error code: F401 |
reviewbot |
- Change Summary:
-
Removed unused imports.
- Commits:
-
Summary ID 3b7fe4f6bb85143a3eb3c2ecec16221c47231e10 3898236fca4ade7ac9799ff2eb481cb6f691a121
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.