mozilla/socorro — pull request #590 by peterbe (2012-05-15 18:49:53+00:00)
Title: Bug664501 bugzilla crontabber app

NOTE: This branch is based on the not-yet-landed branch here https://github.com/mozilla/socorro/pull/535

The test coverage of this app is 100% using entirely functional tests.

It's basically a re-write of https://github.com/mozilla/socorro/blob/master/socorro/cron/bugzilla.py cleaned up and written within the new crontabber framework. I tried my very best to avoid actually fully understanding the business logic and I just re-implemented verbatim (but in a different style).
The best way to review this would be to study the 4 functional tests.

Note also, the old bugzilla.py cron script would keep a pickle of which last date it searched bugzilla.org on. Now instead, it uses the last_success date from the crontabber.