]> SALOME platform Git repositories - modules/smesh.git/blob - test/ssl_hdf5_symbols_conflicts.py
Salome HOME
[bos #40505][CEA] Allow assign of 3D Tetra paramam on imported 2D mesh.
[modules/smesh.git] / test / ssl_hdf5_symbols_conflicts.py
1 #!/usr/bin/env python
2
3 """
4 tuleap26358 : Non regression test pointing to an incompatibiliy between hdf5 symbols in CGNS and hdf5 symbols
5 in hdf5 library.
6 """
7
8 import inspect
9 import os
10
11 import salome
12 salome.standalone()
13 salome.salome_init()
14 import  SMESH, SALOMEDS
15 from salome.smesh import smeshBuilder
16
17 smesh = smeshBuilder.New()
18
19 inputMED = os.path.abspath(os.path.join(os.path.dirname(inspect.getfile(lambda: None)), 'data', 'Mesh_tri.med'))
20
21 ([Mesh_tri_1], status) = smesh.CreateMeshesFromMED(inputMED)
22 import SMESH
23 if status != SMESH.DRS_OK:
24     raise RuntimeError("Test failed")