Exemplo n.º 1
0
 def test_unchanged(self):
     self.assertEquals(fix("<tagone><tagtwo>"), "<tagone><tagtwo>")
Exemplo n.º 2
0
 def test_item_complicated(self):
     self.assertEquals(
         fix("""</title></item><item><title render="italic">"""),
         """</title></item><item><title render="italic">""")
Exemplo n.º 3
0
 def test_base_case(self):
     self.assertEquals(fix("</tagone><tagtwo>"), "</tagone> <tagtwo>")
Exemplo n.º 4
0
 def test_inline_tag(self):
     self.assertEquals(fix("some text</a><a>more text"),
                       "some text</a> <a>more text")
Exemplo n.º 5
0
 def test_item(self):
     self.assertEquals(fix("</item><item>"), "</item><item>")
	def test_unchanged(self):
		self.assertEquals(fix("<tagone><tagtwo>"), "<tagone><tagtwo>")
	def test_base_case(self):
		self.assertEquals(fix("</tagone><tagtwo>"), "</tagone> <tagtwo>")
	def test_item_complicated(self):
		self.assertEquals(fix("""</title></item><item><title render="italic">"""), """</title></item><item><title render="italic">""")
	def test_item(self):
		self.assertEquals(fix("</item><item>"), "</item><item>")
	def test_inline_tag(self):
		self.assertEquals(fix("some text</a><a>more text"), "some text</a> <a>more text")