def test_strip_text(self):
		tree = domdom.parseString(self.basicXML)
		self.assertEquals(strip_text(get_text(tree)), 'asdfzdtvuuu')
Exemple #2
0
 def test_strip_text(self):
     tree = domdom.parseString(self.basicXML)
     self.assertEquals(strip_text(get_text(tree)), 'asdfzdtvuuu')
	def test_get_text(self):
		tree = domdom.parseString(self.basicXML)
		self.assertEquals(get_text(tree), 'A34sdf888]zdTV8u8u8u')
Exemple #4
0
 def test_get_text(self):
     tree = domdom.parseString(self.basicXML)
     self.assertEquals(get_text(tree), 'A34sdf888]zdTV8u8u8u')