diff --git a/tests/test_output.py b/tests/test_output.py index d61089f6..31771282 100644 --- a/tests/test_output.py +++ b/tests/test_output.py @@ -102,7 +102,7 @@ def test_save_xdmf_files_ocp(dir_path, F, bcs, J, y, u, p, config_ocp): ocp.solve(algorithm="bfgs", rtol=1e-1) MPI.barrier(MPI.comm_world) assert pathlib.Path(dir_path + "/out").is_dir() - assert pathlib.Path(dir_path + "/out/xdmf").is_dir() + assert pathlib.Path(dir_path + "/out/checkpoints").is_dir() assert pathlib.Path(dir_path + "/out/history.txt").is_file() assert pathlib.Path(dir_path + "/out/history.json").is_file() assert pathlib.Path(dir_path + "/out/checkpoints/state_0.xdmf").is_file() @@ -165,7 +165,7 @@ def test_save_xdmf_files_mixed(dir_path, rng, config_ocp, geometry): MPI.barrier(MPI.comm_world) assert pathlib.Path(dir_path + "/out").is_dir() - assert pathlib.Path(dir_path + "/out/xdmf").is_dir() + assert pathlib.Path(dir_path + "/out/checkpoints").is_dir() assert pathlib.Path(dir_path + "/out/history.txt").is_file() assert pathlib.Path(dir_path + "/out/history.json").is_file() assert pathlib.Path(dir_path + "/out/checkpoints/state_0_0.xdmf").is_file() diff --git a/tests/test_remeshing.py b/tests/test_remeshing.py index 00a64ceb..2e1a9791 100755 --- a/tests/test_remeshing.py +++ b/tests/test_remeshing.py @@ -140,7 +140,7 @@ def mesh_parametrization(mesh_file): ) assert pathlib.Path(dir_path + "/temp").is_dir() - assert pathlib.Path(dir_path + "/temp/xdmf").is_dir() + assert pathlib.Path(dir_path + "/temp/checkpoints").is_dir() assert pathlib.Path(dir_path + "/temp/history.txt").is_file() assert pathlib.Path(dir_path + "/temp/history.json").is_file() assert pathlib.Path(dir_path + "/temp/optimized_mesh.msh").is_file() diff --git a/tests/test_shape_optimization.py b/tests/test_shape_optimization.py index 611aa734..4f5cfaac 100755 --- a/tests/test_shape_optimization.py +++ b/tests/test_shape_optimization.py @@ -767,7 +767,7 @@ def test_save_xdmf_files(): MPI.barrier(MPI.comm_world) assert pathlib.Path(dir_path + "/out").is_dir() - assert pathlib.Path(dir_path + "/out/xdmf").is_dir() + assert pathlib.Path(dir_path + "/out/checkpoints").is_dir() assert pathlib.Path(dir_path + "/out/history.txt").is_file() assert pathlib.Path(dir_path + "/out/history.json").is_file() assert pathlib.Path(dir_path + "/out/checkpoints/state_0.xdmf").is_file()