from unittest import TestCase import global_defs as g import e2bipatterns_checks as pc log = g.init_logging() class TestPatternWrapper(TestCase): def setUp(self): # legal_patterns_list = pc.generate_pattern_wrappers(p) # self._pw = PatternWrapper() pass # --- Utility Functions --- def check(self, p, token ): p = pc.PatternWrapper(p) return p.check_stmt_token(token) def test_ad_hoc(self): """ testa subito, da soli errori presi altrove""" # if not self.check("DBL_BSC_<sistema sorgente>[<_label>]", "DBL_BSC_GEO"): # self.fail() # T_DMT_<sistema sorgente>/<sistema BI>_{DM/FT/FA/LM}_<label> e2bi_pattern = "T_DMT_<sistema sorgente>/<sistema BI>_{DM/FT/FA/LM}_<label>"
def init(): """will be filled as code develops""" global log log = g.init_logging()