FEM: unit tests, reactivate new z88 mesh reader test and mesh reading

This commit is contained in:
Bernd Hahnebach
2018-12-13 15:38:01 +01:00
committed by wmayer
parent 5e062a6923
commit c568164f62

View File

@@ -313,7 +313,6 @@ class TestMeshEleTetra10(unittest.TestCase):
# fcc_print(outfile)
# fcc_print(testfile)
self.femmesh.write(outfile) # write the mesh
''' due to py3 problems in z88 mesh reader
from feminout.importZ88Mesh import read as read_z88
femmesh_testfile = read_z88(outfile) # read the mesh from written mesh
femmesh_outfile = read_z88(testfile) # read the mesh from test mesh
@@ -350,7 +349,6 @@ class TestMeshEleTetra10(unittest.TestCase):
femmesh_testfile.Volumes,
"Test writing " + self.elem + " mesh to " + filetyp + " file failed. Volumes are different.\n"
)
'''
def tearDown(self):
FreeCAD.closeDocument(self.doc_name)