File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 77from view .mesh_plotter .mesh_plots import plot_mesh
88from mesh_model .reader import read_gmsh
99
10+ TESTFILE_FOLDER = os .path .join (os .path .dirname (__file__ ), '../mesh_files/' )
1011
1112class TestQuadActions (unittest .TestCase ):
1213
@@ -106,7 +107,7 @@ def test_cleanup(self):
106107
107108
108109 def test_actions (self ):
109- filename = os .path .join ('../mesh_files/' , 't1_quad.msh' )
110+ filename = os .path .join (TESTFILE_FOLDER , 't1_quad.msh' )
110111 cmap = read_gmsh (filename )
111112 plot_mesh (cmap )
112113 d = Dart (cmap , 14 )
@@ -122,7 +123,7 @@ def test_actions(self):
122123 plot_mesh (cmap )
123124
124125 def test_random_quad (self ):
125- filename = os .path .join ('../mesh_files/' , 't1_quad.msh' )
126+ filename = os .path .join (TESTFILE_FOLDER , 't1_quad.msh' )
126127 cmap = read_gmsh (filename )
127128 plot_mesh (cmap )
128129
You can’t perform that action at this time.
0 commit comments