'Test app choices.'

def test_app_choices(self):

    form = forms.TransactionFilterForm(self.data, apps=self.apps)
    for app in self.apps:
        assertion = ((app.id, app.name) in form.fields['app'].choices)
        assert assertion, ('(%s,    %s)    not    in    choices' % (app.id, app.name))
