Skip to content

Commit 28bc742

Browse files
committed
mdpa test running
1 parent 9ea5e0d commit 28bc742

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_mdpahandler.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def test_mdpa_write_comparison_1(self):
103103
mesh_points = mdpa_handler.parse(infilename)
104104
mdpa_handler.write(mesh_points, outfilename)
105105
self.assertTrue(filecmp.cmp(outfilename, outfilename_expected))
106-
#self.addCleanup(os.remove, outfilename)
106+
self.addCleanup(os.remove, outfilename)
107107

108108
def test_mdpa_write_comparison_2(self):
109109
infilename = 'tests/test_datasets/test_square.mdpa'
@@ -117,6 +117,6 @@ def test_mdpa_write_comparison_2(self):
117117
mesh_points[45][0] = 7.2
118118
mesh_points[132][1] = -1.2
119119
mesh_points[255][2] = -3.6
120-
#mdpa_handler.write(mesh_points, outfilename)
121-
#self.assertTrue(filecmp.cmp(outfilename, outfilename_expected))
122-
#self.addCleanup(os.remove, outfilename)
120+
mdpa_handler.write(mesh_points, outfilename)
121+
self.assertTrue(filecmp.cmp(outfilename, outfilename_expected))
122+
self.addCleanup(os.remove, outfilename)

0 commit comments

Comments
 (0)