Update query assertions for the latest subquery and note changes.
Review Request #13405 — Created Nov. 6, 2023 and submitted
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
__note__for debugging, and to remove the excess query
All unit tests pass.