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

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

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.

Commits

Files