1 # -*- coding: utf-8 -*-
3 Exemple d'utilisation d'un JDC
5 Dans un premier temps on importe un catalogue
6 de définition contenu dans un module et on le valide ::
13 Dans un deuxième temps, on construit un jeu de commandes
14 a partir d'une chaine de caractères et on vérifie sa
19 sys.path[:0]=['../..','../../Aster']
38 j=JdC(procedure=text,cata=(cata,cata1),nom="bidon")
41 if not j.cr.estvide():
46 if not j.cr.estvide():
51 assert j.isvalid() == 0
52 if not j.cr.estvide():