Add a __note__ field for attaching notes to assertQueries expectations.

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

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.

Summary ID
Add a __note__ field for attaching notes to assertQueries expectations.
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.
2a49c41b33abac13c1469d1ce3fac9ddc7392713
david
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (3a2f0ed)
Loading...