class HasParserTrait(TBC.HasParserTrait): psr = TT.Parser() cnf = CNF_0 cnf_s = CNF_0_S
def setUp(self): self.psr = TT.Parser()
def setUp(self): self.psr = TT.Parser() self.workdir = anyconfig.tests.common.setup_workdir() self.cpath = os.path.join(self.workdir, self.cnf_fn) open(self.cpath, 'w').write(self.cnf_s)
class HasParserTrait(TBC.HasParserTrait): psr = TT.Parser() cnf = CNF_0 cnf_s = to_bytes(TBC.read_from_res("20-10-cnf.xml"))