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']
34 j=JdC(procedure=text,cata=cata,nom="bidon")
37 if not j.cr.estvide():
42 if not j.cr.estvide():
47 assert j.isvalid() == 0
48 if not j.cr.estvide():