def getErrorCode(self):
        return self.getTagAttr('error','code')
Test getting HTML version of a resource rather than JSON.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/Protocol.getErrorCode--crossover with--dataset/ETHPy150Open jeffknupp/sandman/tests/test_sandman.py/TestSandmanContentTypes.test_get_html_non_existant_resource