'Test the product filtering of the readout.'

def test_by_product(self):

    p = ProductFactory(title='Firefox', slug='firefox')
    unreviewed = TranslatedRevisionFactory(is_approved=False, reviewed=None, document__locale='de')
    eq_(0, len(self.rows(product=p)))
    unreviewed.document.parent.products.add(p)
    eq_(self.row(product=p)['title'], unreviewed.document.title)
