As it fails:
Failure in test lib/canonical/launchpad/ftests/../doc/bugtask-search.txt
Failed doctest test for bugtask-search.txt
File "lib/canonical/launchpad/ftests/../doc/bugtask-search.txt", line 0
----------------------------------------------------------------------
File "lib/canonical/launchpad/ftests/../doc/bugtask-search.txt", line 764, in bugtask-search.txt
Failed example:
for bugtask in ubuntu_tasks:
bug = bugtask.bug
print '%s %s [%s comments]' % (
bug.id, bug.title, bug.message_count)
Differences (ndiff with -expected +actual):
2 Blackhole Trash folder [5 comments]
1 Firefox does not support SVG [3 comments]
10 another test bug [2 comments]
9 Thunderbird crashes [1 comments]
- 19 Bug to be fixed in trunk [0 comments]
? ^
+ 19 Bug to be fixed in trunk [1 comments]
? ^
The interaction of the initial comment in the bug nomination test (added in db-devel), and the affected user and the test (added in trunk) for affected users is the cause. Marking a bug as affected forces flushing, which triggered the code that populates message_count.