'For each field in the form, run it through view and check results.'

def test_filter(self):

    tx0 = self.txs[0]
    tx1 = self.txs[1]
    self.do_filter(self.txs)
    self.do_filter(self.txs, transaction_type='None', app='oshawott')
    self.do_filter([tx0], app=tx0.addon.id)
    self.do_filter([tx1], app=tx1.addon.id)
    self.do_filter([tx0], transaction_type=tx0.type)
    self.do_filter([tx1], transaction_type=tx1.type)
    self.do_filter([tx0], transaction_id=tx0.uuid)
    self.do_filter([tx1], transaction_id=tx1.uuid)
    self.do_filter(self.txs, date_from=datetime.date(2011, 12, 1))
    self.do_filter([tx1], date_from=datetime.date(2011, 12, 30), date_to=datetime.date(2012, 2, 1))
