Make authentication state available during API test setup.

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

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.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
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 Christian Hammond
reviewboard/webapi/tests/mixins.py
reviewboard/webapi/tests/test_api_token.py
Loading...