]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
suppression tabulations dans Tests
authorChristian Caremoli <>
Fri, 10 Mar 2006 16:04:51 +0000 (16:04 +0000)
committerChristian Caremoli <>
Fri, 10 Mar 2006 16:04:51 +0000 (16:04 +0000)
Tests/testcomm/efica01a.11
Tests/testcomm/efica01b.11
Tests/testelem/az.comm
Tests/testelem/testjdc1.py
Tests/testelem/testoper1.py
Tests/testelem/testposition1.py
Tests/testelem/testsimp1.py

index cda7b74f47be0dba9aeb0fdcb68d74954ccafbc4..bec37b5b29a73921bf8ccdaae22318a06b38a79f 100644 (file)
@@ -1,7 +1,7 @@
 DEPL2 = FORMULE(NOM_PARA='INST',VALE='sin(OMEGAA*INST)/(OMEGAA**xx)')
 DEPLACE2=CALC_FONC_INTERP( FONCTION=DEPL2,
                            LIST_PARA=L_INST,
-                          NOM_PARA='INST',
+               NOM_PARA='INST',
                            PROL_DROITE='LINEAIRE',
                            PROL_GAUCHE='LINEAIRE',
                            NOM_RESU='DEPL'       )
index cda7b74f47be0dba9aeb0fdcb68d74954ccafbc4..bec37b5b29a73921bf8ccdaae22318a06b38a79f 100644 (file)
@@ -1,7 +1,7 @@
 DEPL2 = FORMULE(NOM_PARA='INST',VALE='sin(OMEGAA*INST)/(OMEGAA**xx)')
 DEPLACE2=CALC_FONC_INTERP( FONCTION=DEPL2,
                            LIST_PARA=L_INST,
-                          NOM_PARA='INST',
+               NOM_PARA='INST',
                            PROL_DROITE='LINEAIRE',
                            PROL_GAUCHE='LINEAIRE',
                            NOM_RESU='DEPL'       )
index 188fe70b92aa77841896751980c48fd2748b9ba0..f1b968f670be8af9ec4c4e2d9ccc97fcb4d8c6ad 100644 (file)
@@ -13,7 +13,7 @@ P6 = (P1 - 3);
 
 P4 = [2, 3, 4];
 
-#Pas trouve            shellpanel
+#Pas trouve   shellpanel
 
 MAILLA2=LIRE_MAILLAGE(UNITE=P4[1],);
 
@@ -59,10 +59,14 @@ CARA=AFFE_CARA_ELEM(MODELE=MOD,
 # 'AFFE_MODELE', 'AFFE', 'b_mecanique'--> plusieursintopanel
 
 F1=DEFI_FONCTION(NOM_PARA='DX',
-                 VALE=(5.0,3.0,P4[1],P3,),);
+                 VALE=(5.0,3.0,
+P4[1],P3,
+),);
 
 F3=DEFI_FONCTION(NOM_PARA='DRX',
-                 VALE_C=(5.0,7.0,9.0,9.0,8.0,7.0,),);
+                 VALE_C=(5.0,7.0,9.0,
+9.0,8.0,7.0,
+),);
 # 'DEFI_FONCTION', 'VALE'             --> fonctionpanel  
 
 MATER2=DEFI_MATERIAU(ELAS=_F(E=100000000000.0,
index 3d57d649299b257cb1baa638ba51ed345cd0c562..b915b2e1c5412648a38aa29117fd94e779d7a283 100644 (file)
@@ -113,7 +113,7 @@ FIN();
 # commentaire
       pos=pos+1
       co=j.addentite("COMMENTAIRE",pos)
-      co.set_valeur("Pas trouve                shellpanel")
+      co.set_valeur("Pas trouve   shellpanel")
 # commande LIRE_MAILLAGE
       pos=pos+1
       co=j.addentite("LIRE_MAILLAGE",pos)
index 2d497556d0813b3d2662934043c3c34bd7c79ce4..b777a6de99cdcbbf841d5b0b63ecce2b0003b761 100644 (file)
@@ -74,13 +74,13 @@ class TestOperCase(unittest.TestCase):
       OP10 = OPER(nom='OP10',op=10,sd_prod=concept,
                    a=SIMP(typ='I'),
                    c=SIMP(statut='o',typ='TXM',position='global',
-                          into=("TABLEAU","AGRAF"),
                       ),
-                  b=FACT(statut='o',max='**',
-                  b_forme=BLOC(condition="c == 'TABLEAU'",
-                               d=SIMP(statut='f',typ='TXM'),
-                               ),
-                       ),
+           into=("TABLEAU","AGRAF"),
+ ),
+           b=FACT(statut='o',max='**',
+   b_forme=BLOC(condition="c == 'TABLEAU'",
+                d=SIMP(statut='f',typ='TXM'),
+),
+),
                  )
 
       co1=OP10(a=1,c="TABLEAU",b=_F(d='rr'))
index 520b1e4e27984c335a285495f1aace96e1af229e..dbe752ab70047f80d3cd03c967dc0ed71434821d 100644 (file)
@@ -23,13 +23,13 @@ class TestCase(unittest.TestCase):
       OP10 = OPER(nom='OP10',op=10,sd_prod=concept,
                    a=SIMP(typ='I'),
                    c=SIMP(statut='o',typ='TXM',position='global',
-                          into=("TABLEAU","AGRAF"),
-                        ),
-                  b=FACT(statut='o',max='**',
-                  b_forme=BLOC(condition="c == 'TABLEAU'",
-                               d=SIMP(statut='f',typ='TXM'),
-                               ),
-                       ),
+                   into=("TABLEAU","AGRAF"),
+             ),
+               b=FACT(statut='o',max='**',
+           b_forme=BLOC(condition="c == 'TABLEAU'",
+                        d=SIMP(statut='f',typ='TXM'),
+                ),
+            ),
                  )
       co1=OP10(a=1,c="TABLEAU",b=_F(d='rr'))
       msg=co1.etape.report()
@@ -41,15 +41,15 @@ class TestCase(unittest.TestCase):
       OP10 = OPER(nom='OP10',op=10,sd_prod=concept,
                    a=SIMP(typ='I'),
                    c=SIMP(statut='o',typ='TXM',position='global_jdc',
-                          into=("TABLEAU","AGRAF"),
-                        ),
+                   into=("TABLEAU","AGRAF"),
+             ),
                  )
       OP11 = OPER(nom='OP11',op=10,sd_prod=concept,
-                  b=FACT(statut='o',max='**',
-                  b_forme=BLOC(condition="c == 'TABLEAU'",
-                               d=SIMP(statut='f',typ='TXM'),
-                               ),
-                       ),
+               b=FACT(statut='o',max='**',
+           b_forme=BLOC(condition="c == 'TABLEAU'",
+                        d=SIMP(statut='f',typ='TXM'),
+                ),
+            ),
                  )
       co1=OP10(a=1,c="TABLEAU",)
       co2=OP11(b=_F(d='rr'))
index 25cd7cae07ccefec79a47f5abc6d730ae828d566..c25917ed5b3da4877381e249c58f57e681827d03 100644 (file)
@@ -241,7 +241,7 @@ Fin Mot-cl
        for valeur,valid in liste:
            o=cata(valeur,'mcs',None)
            self.assertEqual(o.isvalid(),valid,
-               "erreur sur le test %s %s" % (valeur,valid)+'\n'+str(o.report()))
+        "erreur sur le test %s %s" % (valeur,valid)+'\n'+str(o.report()))
            if valid: self.assertEqual(o.get_valeur(),valeur)
 
    def test014(self):