def test_only_how_to_contribute(self):
        locale = settings.WIKI_DEFAULT_LANGUAGE
        p = ProductFactory(title='Firefox', slug='firefox')

        d1 = DocumentFactory(products=[p])
        d2 = DocumentFactory(title='Admin', category=ADMINISTRATION_CATEGORY, products=[p])

        ApprovedRevisionFactory(document=d1)
        ApprovedRevisionFactory(document=d2)

        eq_(1, len(self.rows(locale=locale, product=p)))
        eq_(d2.title, self.row(locale=locale, product=p)['title'])
        eq_(u'', self.row(locale=locale, product=p)['status'])
Return an iterator that yields the ID of every element while
dataset/ETHPy150Open mozilla/kitsune/kitsune/dashboards/tests/test_readouts.py/AdministrationTests.test_only_how_to_contribute--crossover with--dataset/ETHPy150Open conceptsandtraining/libtree/libtree/core/query.py/get_descendants