• 
      

    Update query assertions for the latest subquery and note changes.

    Review Request #13405 — Created Nov. 7, 2023 and submitted

    Information

    Review Board
    release-5.0.x

    Reviewers

    The subquery assertion support has changed during development of the
    upcoming version of Djblets, and many of our recent datagrid and webapi
    unit tests were written with the old approach. Many of them also had
    extra queries expected that weren't actually executed, but due to a bug
    in the prior implementation, they would not be listed if the executed
    queries otherwise matched.

    These queries have been reworked to use the new subquery matching, to
    define a __note__ for debugging, and to remove the excess query
    expectations.

    All unit tests pass.

    Summary ID
    Update query assertions for the latest subquery and note changes.
    The subquery assertion support has changed during development of the upcoming version of Djblets, and many of our recent datagrid and webapi unit tests were written with the old approach. Many of them also had extra queries expected that weren't actually executed, but due to a bug in the prior implementation, they would not be listed if the executed queries otherwise matched. These queries have been reworked to use the new subquery matching, to define a `__note__` for debugging, and to remove the excess query expectations.
    5b30c4c2aede8c885c67d7f5c6fa84561eed0799
    maubin
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.0.x (48dff90)