• 
      

    Add unit tests for Repository.objects.accessible_ids.

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

    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.

    Summary ID
    Add unit tests for Repository.objects.accessible_ids.
    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.
    16090a6c763ae4ce8c90375dacaa75c6378eb07f
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-3.0.x (2db205b)