def test_by_product(self):
        p = ProductFactory(title='Firefox', slug='firefox')
        r = TranslatedRevisionFactory(document__locale='de', is_approved=True)
        d = r.document

        # There shouldn't be any rows yet.
        eq_(0, len(self.rows(product=p)))

        # Add the product to the parent document, and verify it shows up.
        d.parent.products.add(p)
        eq_(self.row(product=p)['title'], d.title)
Test wait for operation that results in failure.
dataset/ETHPy150Open mozilla/kitsune/kitsune/dashboards/tests/test_readouts.py/MostVisitedTranslationsTests.test_by_product--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/test/op_manager_test.py/OpManagerTestCase.testWaitFailure