Comment 3 for bug 484609

Revision history for this message
Graham Binns (gmb) wrote : Re: [Bug 484609] Re: upstream bugs should not be polled on duplicate bug entries

2009/11/18 Reed Loden <email address hidden>:
> I had a few minutes today, so I decided to try to figure out how lp does
> branches and stuff, so I created a personal branch with the fix gmb
> mentioned in comment #1. However, I don't really understand the format
> of lib/lp/bugs/doc/checkwatches.txt, so not sure what I'm exactly
> supposed to add there. I was expecting an actual automated test, but it
> seems as it's just notes on some random stuff that bugwatches.py
> handles.

It's actually a doctest, which means that it's testable documentation [1].

However, rather than go over the whole thing with you now I'll take a
look at the branch myself; it shouldn't take long to write the
requisite test and I've got some spare time before my EOD.

Thanks for providing the fix!

 [1] http://docs.python.org/library/doctest.html