Skip to content

Commit e79d5e5

Browse files
committed
Fix test issues
1 parent 3cc14a1 commit e79d5e5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mesh_model/random_quadmesh.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ def random_mesh() -> Mesh:
1515
:param num_nodes_max: number of nodes of the final mesh
1616
:return: a random mesh
1717
"""
18+
filename = os.path.join(os.path.dirname(__file__), '../mesh_files/t1_quad.msh')
1819
#filename = os.path.join('../mesh_files/', 't1_quad.msh')
19-
mesh = read_gmsh("/home/ropercha/PycharmProjects/tune/mesh_files/t1_quad.msh")
20+
#mesh = read_gmsh("/home/ropercha/PycharmProjects/tune/mesh_files/t1_quad.msh")
21+
mesh = read_gmsh(filename)
2022
mesh_shuffle(mesh, 10)
2123
return mesh
2224

test_modules/test_actions_quad.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ def test_random_quad(self):
126126
filename = os.path.join(TESTFILE_FOLDER, 't1_quad.msh')
127127
cmap = read_gmsh(filename)
128128
plot_mesh(cmap)
129-
130129
mesh = random_mesh()
131130
plot_mesh(mesh)
132131

0 commit comments

Comments
 (0)