Update API testing to use common equery functions.

Review Request #13433 — Created Nov. 26, 2023 and submitted

Information

Review Board
release-5.0.x

Reviewers

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
Update API testing to use common equery functions.
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.
ac70de3bdc8fed8edc3c17fcb47f14534cdf6ec7
Description From Last Updated

'reviewboard.reviews.testing.queries.review_requests.get_review_requests_accessible_equeries' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

'reviewboard.reviews.testing.queries.review_requests.get_review_requests_accessible_prep_equeries' imported but unused Column: 1 Error code: F401

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
chipx86
david
  1. Ship It!
  2. 
      
maubin
  1. 
      
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-5.0.x (d71fb86)
Loading...