Add type hints and new arguments for some TestCase object creation helpers.

Review Request #13408 — Created Nov. 8, 2023 and submitted

Information

Review Board
release-5.0.x

Reviewers

This updates TestCase.create_local_site(),
TestCase.create_review_group(), and TestCase.create_repository() to
provide type hints and new arguments for setting membership lists.

create_local_site() accepts users and admins arguments for setting
the user and administrator lists.

create_review_group() accepts a users list for group membership.

create_repository() accepts review_groups and users ACL lists.

Unit tests pass.

Made use of these in some in-progress changes.

Summary ID
Add type hints and new arguments for some TestCase object creation helpers.
This updates `TestCase.create_local_site()`, `TestCase.create_review_group()`, and `TestCase.create_repository()` to provide type hints and new arguments for setting membership lists. `create_local_site()` accepts `users` and `admins` arguments for setting the user and administrator lists. `create_review_group()` accepts a `users` list for group membership. `create_repository()` accepts `review_groups` and `users` ACL lists.
b02974b8eb9b04301e360f3397c12bfa7f4b3805
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-5.0.x (8761b6e)