'Test xml_translate() on plain text with HTML escaped entities.'

def test_translate_xml_text_entity(self):

    terms = []
    source = 'Blah&amp;nbsp;blah&amp;nbsp;blah'
    result = xml_translate(terms.append, source)
    self.assertEquals(result, source)
    self.assertItemsEqual(terms, [source])
