Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

test functions for validate_mesh_structure_pairs #114

Merged
merged 11 commits into from
Feb 21, 2024
Merged
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
pre-commit-ci[bot] authored and viktorpm committed Feb 21, 2024
commit 8ac70cb422585ca1750f65ad6ad586ccd9d58a6c
6 changes: 3 additions & 3 deletions tests/test_unit/test_validation.py
Original file line number Diff line number Diff line change
@@ -91,11 +91,11 @@ def test_validate_mesh_structure_pairs_no_obj(atlas):

def test_validate_mesh_structure_pairs_not_in_atlas(atlas):
"""
Tests if validate_mesh_structure_pairs function raises an error,
when there is at least one orphan obj file (doesn't have a corresponding structure in the atlas)
Tests if validate_mesh_structure_pairs function raises an error,
when there is at least one orphan obj file (doesn't have a corresponding structure in the atlas)
"""
with pytest.raises(
AssertionError,
match="Structures with IDs \[.*\] have a mesh file, but are not accessible through the atlas",
):
validate_mesh_structure_pairs(atlas)
validate_mesh_structure_pairs(atlas)