def test_nickname_8(self): name = u'^9|^1E^2R^3E^4N^^|^7' try: username_with_html_colors(name) except: self.fail("Failed to parse nickname '{}' to html.\n{}".format( name, traceback.format_exc(1)))
def test_nickname_7(self): name = u'^^''**^7' try: username_with_html_colors(name) except: self.fail("Failed to parse nickname '{}' to html.\n{}".format( name, traceback.format_exc(1)))
def test_nickname_1(self): name = u'|^^|GallotoroDBS^7' try: username_with_html_colors(name) except: self.fail("Failed to parse nickname '{}' to html.\n{}".format( name, traceback.format_exc(1)))
def htmlname(self): return username_with_html_colors(u'{}'.format(self.name))
def htmlname_short(self, maxlen=32): if self.longname: return username_with_html_colors(u'{}'.format( self.longname)[:maxlen]) return u''
def htmlname(self): if self.longname: return username_with_html_colors(u'{}'.format(self.longname)) return u''
def htmlname(self): return username_with_html_colors(u'{}'.format(self.name))
def htmlname_short(self, maxlen=32): if self.longname: return username_with_html_colors(u'{}'.format(self.longname)[:maxlen]) return u''
def htmlname(self): if self.longname: return username_with_html_colors(u'{}'.format(self.longname)) return u''
def test_nickname_8(self): name = u'^9|^1E^2R^3E^4N^^|^7' try: username_with_html_colors(name) except: self.fail("Failed to parse nickname '{}' to html.\n{}".format(name, traceback.format_exc(1)))
def test_nickname_7(self): name = u'^^''**^7' try: username_with_html_colors(name) except: self.fail("Failed to parse nickname '{}' to html.\n{}".format(name, traceback.format_exc(1)))
def test_nickname_1(self): name = u'|^^|GallotoroDBS^7' try: username_with_html_colors(name) except: self.fail("Failed to parse nickname '{}' to html.\n{}".format(name, traceback.format_exc(1)))