Make authentication state available during API test setup.

Review Request #13377 — Created Oct. 25, 2023 and submitted

Information

Review Board
release-5.0.x

Reviewers

This updates the authentication pathway to make the API token, OAuth2
token, and OAuth2 application available to any callers of the new API
test state setup functions. This will allow some test setup code to
access these objects as part of the upcoming queryset assertions.

Unit tests pass.

Made use of these in some in-progress changes.

Summary ID
Make authentication state available during API test setup.
This updates the authentication pathway to make the API token, OAuth2 token, and OAuth2 application available to any callers of the new API test state setup functions. This will allow some test setup code to access these objects as part of the upcoming queryset assertions.
d94ef3ac7e0f26497dc7e8dc97f494ea7db397c3
david
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.0.x (27e8246)