X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Ftests%2FTest%2Ftest_2.py;h=88beb83389544ca2b7a06c209bd0da779e4761af;hb=refs%2Ftags%2FV9_13_0b1;hp=846f691f6ddc42627d73891bd6fcc84fd2427379;hpb=236f2d86ab14264d9190c41cdec9871ac98a4145;p=modules%2Fhomard.git diff --git a/src/tests/Test/test_2.py b/src/tests/Test/test_2.py index 846f691f..88beb833 100755 --- a/src/tests/Test/test_2.py +++ b/src/tests/Test/test_2.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2011-2016 CEA/DEN, EDF R&D +# Copyright (C) 2011-2024 CEA, EDF # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -21,7 +21,7 @@ Python script for HOMARD Test test_2 """ -__revision__ = "V4.04" +__revision__ = "V4.05" #======================================================================== TEST_NAME = "test_2" @@ -46,7 +46,7 @@ from test_util import test_results REP_DATA, DIRCASE = get_dir(PATH_HOMARD, TEST_NAME, DEBUG) # ================================== -salome.salome_init() +salome.salome_init_without_session() import iparameters IPAR = iparameters.IParameters(salome.myStudy.GetCommonParameters("Interface Applicative", 1)) IPAR.append("AP_MODULES_LIST", "Homard") @@ -144,7 +144,7 @@ Python script for HOMARD scriptfile = os.path.normpath(scriptfile) dirname = DIRCASE yacs_test_2 = case_test_2.CreateYACSSchema("YACS_test_2", scriptfile, dirname, mesh_file) - yacs_test_2.SetMaxIter(4) + yacs_test_2.SetMaxIter(N_ITER_TEST_FILE+1) yacs_test_2.SetType(1) filexml = os.path.join(DIRCASE, 'yacs_test_2.xml') error = yacs_test_2.WriteOnFile(filexml)