def test_getElementTextLang(self):
        e = error.BaseError('feature-not-implemented', 'text', 'en_US')
        element = e.getElement()
        self.assertEquals(len(element.children), 2)
        self.assertEquals(unicode(element.text), 'text')
        self.assertEquals(element.text[(NS_XML, 'lang')], 'en_US')
Test to send a message to an XMPP user
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_jabbererror.py/BaseErrorTest.test_getElementTextLang--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/states/xmpp_test.py/XmppTestCase.test_send_msg