'Verify that {for}\'s render correctly in template.'

def test_for_in_template(self):

    d = TemplateDocumentFactory(title=(TEMPLATE_TITLE_PREFIX + 'for'))
    ApprovedRevisionFactory(document=d, content='{for    win}windows{/for}{for    mac}mac{/for}')
    p = WikiParser()
    content = p.parse('[[{}for]]'.format(TEMPLATE_TITLE_PREFIX))
    eq_('<p><span    class="for"    data-for="win">windows</span><span    class="for"    data-for="mac">mac</span>\n\n</p>', content)
