Salome HOME
Update and fix forgotten files for HOMARD V10.2
[modules/homard.git] / tests / test_2.py
index 5dd3dbc89e01e12a9524d7d1ea212445c47b704d..2c8ee955ba8d1d734c447ba5dd3ee0a3e859bed6 100644 (file)
@@ -22,7 +22,7 @@ Python script for HOMARD
 Copyright EDF-R&D 2010
 Test test_2
 """
-__revision__ = "V1.2"
+__revision__ = "V1.3"
 
 ######################################################################################
 Test_Name = "test_2"
@@ -55,9 +55,7 @@ Copyright EDF-R&D 2010
 # Creation of the boundaries
 # ==========================
 # Creation of the discrete boundary Boundary_1
-  Boundary_1 = homard.CreateBoundary('internal_boundary', 0)
-  Boundary_1.SetMeshFile(os.path.join(Rep_Test, Test_Name + '.fr.med'))
-  Boundary_1.SetMeshName('plaque')
+  Boundary_1 = homard.CreateBoundaryDi('internal_boundary', 'plaque', os.path.join(Rep_Test, Test_Name + '.fr.med'))
 #
 # Creation of the hypotheses
 # ==========================