2 sys.path[:0]=['../..','../../..']
4 from Accas import SIMP,FACT
6 cata= FACT(sect1=FACT(a=SIMP(typ='I'),b=SIMP(typ='I')),
7 sect2=FACT(c=SIMP(typ='I'),d=SIMP(typ='I')),
12 print "Verification sans erreur"
16 # On récupère les plugins de la famille convert
19 p=convert.plugins['ini']()
20 p.readfile('toto.ini')
22 if not p.cr.estvide():
26 o=cata(eval(s),'mcf1',None)
30 o=cata(p.convert('dict'),'mcf2',None)
34 # On récupère les plugins de la famille generator
37 g=generator.plugins['ini']()
39 g.writefile('titi.ini')
41 g=generator.plugins['pyth']()
43 g.writefile('titi.pyth')
45 p=convert.plugins['pyth']()
46 p.readfile('toto.pyth')
48 if not p.cr.estvide():