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

        d = DocumentFactory(products=[p])
        t = TemplateDocumentFactory(products=[p])
        ApprovedRevisionFactory(document=d)
        ApprovedRevisionFactory(document=TemplateDocumentFactory())

        eq_(1, len(self.rows(locale=locale, product=p)))
        eq_(t.title, self.row(locale=locale, product=p)['title'])
        eq_(u'', self.row(locale=locale, product=p)['status'])
Parses the given string to populate the :attr:`headers` and
dataset/ETHPy150Open mozilla/kitsune/kitsune/dashboards/tests/test_readouts.py/TemplateTests.test_only_templates--crossover with--dataset/ETHPy150Open slimta/python-slimta/slimta/envelope.py/Envelope.parse