Skip to content

Commit

Permalink
Fix failing cubitpy test
Browse files Browse the repository at this point in the history
  • Loading branch information
isteinbrecher committed Feb 14, 2025
1 parent 9628d88 commit dca7e41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/create_cubit_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@ def rotate_list(original_list, n):
if __name__ == "__main__":
# Execution part of script.

# Todo:
# The paths here are wrong! We have to think anyway if we want to keep this
# part of the script or just rely on the testing (which should be more than
# sufficient).

dir_path = os.path.abspath(os.path.dirname(__file__))

# Create the input file for the solid tube.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_meshpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ def test_meshpy_cubitpy_import(

# Load the file from the reference folder.
file_path_ref = get_corresponding_reference_file_path(
reference_file_base_name="test_create_cubit_input_tube.dat"
reference_file_base_name="test_create_cubit_input_tube"
)
input_file_ref = InputFile(dat_file=file_path_ref)

Expand Down

0 comments on commit dca7e41

Please sign in to comment.