dimagi/WBNigeria — pull request #24 by mlavin (2012-07-26 19:41:16+00:00)
Title: PBF Dashboard Tests

I was going to write some more tests for the Fadama dashboard when I realized I was actually at a nice stopping point for merging in the current work on the PBF dashboard. These tests are focused on the `utils.pbf` since that's where a majority of the logic resides after the refactor.

```
$ python manage.py test aremind.apps.dashboard
NOTICE: using default settings module 'aremind.test_localsettings'
nosetests --verbosity 1 aremind.apps.dashboard
Creating test database for alias 'default'...
............
----------------------------------------------------------------------
Ran 12 tests in 0.081s

OK
Destroying test database for alias 'default'...
```