'A bunch of wiki text with {warning} and {note}'

def test_general_warning_note(self):

    p = WikiParser()
    doc = pq(p.parse("\n\n{warning}\n\nthis    is    a    warning\n\n{note}this    is    a    note{warning}!{/warning}{/note}[[Installing    Firefox]]    '''internal'''    ''link''{/warning}\n\n"))
    eq_('!', doc('div.warning    div.warning').text())
    eq_('this    is    a    note    !', doc('div.note').text())
    eq_('Installing    Firefox', doc('a').text())
    eq_('internal', doc('strong').text())
    eq_('link', doc('em').text())
