Пример #1
0
 def test_escape_gt_and_lt(self):
     self.assertEqual(sjutils.html_escape("3 is > 2 but < 5"), "3 is &gt; 2 but &lt; 5")
Пример #2
0
 def test_desc_from_sjtools(self):
     self.assertEqual(sjutils.html_escape(self.sjtools_desc), self.sjtools_desc_escaped)