コード例 #1
0
ファイル: tests.py プロジェクト: rustico/boletin_oficial
 def test_when_boletin_has_seccion_adjudicaciones(self):
     boletin =  BoletinParser(fixtures.boletines[1]);
     self.assertTrue(boletin.tiene_seccion("Adjudicaciones"))
コード例 #2
0
ファイル: tests.py プロジェクト: rustico/boletin_oficial
 def test_when_boletin_doesnot_has_seccion_adjudicaciones(self):
     boletin =  BoletinParser(fixtures.boletines[1].replace("Adjudicaciones", "Preadjudicaciones"));
     self.assertFalse(boletin.tiene_seccion("Adjudicaciones"))
コード例 #3
0
ファイル: tests.py プロジェクト: rustico/boletin_oficial
 def test_when_boletin_has_seccion_servicios(self):
     boletin =  BoletinParser(fixtures.boletines[1]);
     self.assertTrue(boletin.tiene_seccion("Servicios Tres Palabras Audiovisuales"))
コード例 #4
0
ファイル: tests.py プロジェクト: rustico/boletin_oficial
 def test_when_boletin_has_seccion_locaciones(self):
     boletin =  BoletinParser(fixtures.boletines[1]);
     self.assertTrue(boletin.tiene_seccion("Locaciones INMUEBLES (LOC)"))
コード例 #5
0
ファイル: tests.py プロジェクト: rustico/boletin_oficial
 def test_when_boletin_has_seccion_dictamenes_de_evaluacion_without_accents(self):
     boletin =  BoletinParser(fixtures.boletines[1]);
     self.assertTrue(boletin.tiene_seccion("Dictamenes de Evaluacion"))