Merge ~cjwatson/launchpad:fix-stormify-message into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | cdbbf0065266f86c4c973ce243ea1e97461bc5fa |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:fix-stormify-message |
Merge into: | launchpad:master |
Diff against target: |
35 lines (+7/-3) 1 file modified
lib/lp/bugs/tests/bugs-emailinterface.rst (+7/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ines Almeida | Approve | ||
Review via email: mp+446525@code.launchpad.net |
Commit message
Fix bugs-emailinter
Description of the change
The `DecoratedResul
In a test we don't need to care much about performance, so I just used `set(bug.messages)` to materialize the result of the query and turn it into something that supports `__contains__`.
To post a comment you must log in.
Would it make sense to add a comment in the tests?
It is currently not obvious when reading the tests why `set` was used. And we will probably trip over it once we convert the doctests to unit tests.