mozilla/socorro — pull request #281 by peterbe (2012-01-13 22:53:02+00:00)
Title: Bug701253 weekly partitioning cron (WORK IN PROGRESS)

Here's a very early draft. It's an actual functional test that runs the cron job script that uses generic_app (which uses configman).

I'm sure it's ugly as hell and misunderstood around the way transactions work and whatnot but it makes it easier to verbalize what we need to do.

Also, I've never actually run this. Only run it as a test. To run the test I used:

```
(socorro-virtualenv) $ pwd
/home/socorro/dev/socorro
(socorro-virtualenv) $ PYTHONPATH=".:thirdparty" socorro-virtualenv/bin/nosetests socorro/unittest/cron/testWeeklyReportsPartitions.py
```