Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")
def test_xmlEscapeText(self):
self.assertEqual(xmlEscapeText("&"), "&")
self.assertEqual(xmlEscapeText("<"), "<")
self.assertEqual(xmlEscapeText(">"), ">")
self.assertEqual(xmlEscapeText("a"), "a")
self.assertEqual(xmlEscapeText("ä"), "ä")
self.assertEqual(xmlEscapeText("ā"), "ā")
self.assertEqual(xmlEscapeText("𐐀"), "𐐀")
self.assertEqual(xmlEscapeText("©"), "©")
self.assertEqual(xmlEscapeText("—"), "—")
self.assertEqual(xmlEscapeText("1"), "1")
self.assertEqual(xmlEscapeText("1.0"), "1.0")
self.assertEqual(xmlEscapeText("'"), "'")
self.assertEqual(xmlEscapeText("/"), "/")
self.assertEqual(xmlEscapeText("\\"), "\\")
self.assertEqual(xmlEscapeText("\r"), "\r")