Skip to content

Commit

Permalink
Update tests to reflect change in API
Browse files Browse the repository at this point in the history
  • Loading branch information
connoramoreno committed Feb 3, 2025
1 parent 36b1cc8 commit 1bcbb34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_python_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from pymoab import core, types

from cad_to_dagmc import CadToDagmc
from cad_to_dagmc.core import _check_material_tags
from cad_to_dagmc.core import check_material_tags


def get_volumes_and_materials_from_h5m(filename: str) -> dict:
Expand Down Expand Up @@ -214,7 +214,7 @@ def test_export_gmsh_mesh_file_handel_paths_folders_strings(filename):
def test_check_material_tags_too_long():
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")
_check_material_tags(["a" * 29], [1])
check_material_tags(["a" * 29], [1])
assert len(w) == 1
assert issubclass(w[-1].category, UserWarning)
assert "Material tag" in str(w[-1].message)
Expand Down

0 comments on commit 1bcbb34

Please sign in to comment.