Add unit tests for Repository.objects.accessible_ids.

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

chipx86
Review Board
release-3.0.x
reviewboard

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.

Summary
Add unit tests for Repository.objects.accessible_ids.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (2db205b)
Loading...