Add missing 'limit' checks for assertQueries() calls.
Review Request #12378 — Created June 16, 2022 and submitted — Latest diff uploaded
assertQueries()in Djblets just received alimitoption for queries.
This requires updates to theProfileunit tests, which currently are
the only ones affected by this. Affected tests that use this option are
the results ofQuerySet.exists()calls.
Unit tests pass.