Esempio n. 1
0
 def test_mismo_nivel_educativo_multiple(self):
     c1 = u"ESCUELA COLEGIO LICEO 1"
     c2 = u"ESCUELA COLEGIO LICEO 2"
     self.assertTrue(mismo_nivel_educativo(c1, c2))
     c1 = u"ESCUELA COLEGIO LICEO SEDE 1"
     c2 = u"ESCUELA COLEGIO LICEO CENTRO 2"
     self.assertFalse(mismo_nivel_educativo(c1, c2))
Esempio n. 2
0
 def test_mismo_nivel_educativo(self):
     c1 = u"ESCUELA 1"
     c2 = u"ESCUELA 2"
     self.assertTrue(mismo_nivel_educativo(c1, c2))
     c1 = u"COLEGIO 1"
     c2 = u"COLEGIO 2"
     self.assertTrue(mismo_nivel_educativo(c1, c2))
     c1 = u"LICEO 1"
     c2 = u"LICEO 2"
     self.assertTrue(mismo_nivel_educativo(c1, c2))
     c1 = u"CENTRO 1"
     c2 = u"CENTRO 2"
     self.assertTrue(mismo_nivel_educativo(c1, c2))
     c1 = u"SEDE 1"
     c2 = u"SEDE 2"
     self.assertTrue(mismo_nivel_educativo(c1, c2))
     c1 = u"AULASALVAJE 1"
     c2 = u"AULASALVAJE 2"
     self.assertTrue(mismo_nivel_educativo(c1, c2))
Esempio n. 3
0
 def test_mismo_nivel_educativo_false(self):
     c1 = u"COLEGIO CARLOS ANTONIO LOPEZ"
     c2 = u"LICEO CARLOS ANTONIO LOPEZ"
     self.assertFalse(mismo_nivel_educativo(c1, c2))
Esempio n. 4
0
 def test_mismo_nivel_educativo_empty(self):
     c1 = u"SIN NOMBRE"
     c2 = u""
     self.assertTrue(mismo_nivel_educativo(c1, c2))