Add unit tests for Repository.objects.accessible_ids.

Review Request #11603 — Created May 11, 2021 and submitted — Latest diff uploaded

Information

Review Board
release-3.0.x

Reviewers

This function is currently a light-weight wrapper around
Repository.objects.accessible(), which already has a full suite of
tests. However, there are plans for some future work here, and it's a
good time to ensure that we have some reliable tests in case anything
were to break.

This change copies over the accessible() tests, changing them to
check IDs against a list of IDs instead.

Unit tests pass.

Commits

Files