Add a __note__ field for attaching notes to assertQueries expectations.

Review Request #13387 — Created Oct. 29, 2023 and submitted — Latest diff uploaded

Information

Djblets
release-3.x

Reviewers

Query expectation dictionaries now support a __note__ field, which can
be used to describe the query or provide some other identifying
information. This will be shown in the "Query <num>" line in the output
whenever there's a query expectation failure, helping with debugging.

Unit tests pass.

Used this in the development of some other unit tests.

Commits

Files

    Loading...