示例#1
0
    def test7(self) :
	self.assertEqual(regs.clean_contents(ur";1: {{forma verbo|translimitar|p=1s|t=futuro|m=subjuntivo|leng=es}}."),ur"1 forma verbo translimitar persona: 1s tiempo: futuro modo: subjuntivo lengua: Español.")		
示例#2
0
    def test6(self) :
	self.assertEqual(regs.clean_contents(r" ;1 {{Tema}}: Este tema es ... {{sinonimos|un sinonimo}}{{ clear }}")," 1 Tema: Este tema es ... sinonimos un sinonimo")	
示例#3
0
    def test4(self) :
	self.assertEqual(regs.clean_contents("::''Correr'' tras un ascenso. <small>"),"''Correr'' tras un ascenso. ")
示例#4
0
    def test5(self) :
	self.assertEqual(regs.clean_contents(" ;1: ;2:")," 1 2")
示例#5
0
    def test3(self) :
	self.assertEqual(regs.clean_contents(u":*'''Ejemplos:''' como [[ palabra ]] aquí [http link]"),u"Ejemplos: como palabra aquí ")