Skip to content

Commit

Permalink
Merge branch 'anipose-loader' of https://github.com/neuroinformatics-…
Browse files Browse the repository at this point in the history
…unit/movement into anipose-loader

# Conflicts:
#	tests/conftest.py
  • Loading branch information
vigji committed Dec 10, 2024
2 parents ce4a874 + fae010c commit f105619
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_unit/test_validators/test_files_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,23 +177,24 @@ def test_via_tracks_csv_validator_with_invalid_input(

assert str(excinfo.value) == log_message


@pytest.mark.parametrize(
"invalid_input, error_type, log_message",
[
(
"invalid_single_individual_csv_file",
ValueError,
"CSV file is missing some expected headers."
"CSV file is missing some expected headers.",
),
(
"missing_keypoint_headers_anipose_csv_file",
ValueError,
"Base header kp0 is missing some expected suffixes."
"Base header kp0 is missing some expected suffixes.",
),
(
"spurious_header_anipose_csv_file",
ValueError,
"Header funny_header does not have an expected suffix."
"Header funny_header does not have an expected suffix.",
),
],
)
Expand Down

0 comments on commit f105619

Please sign in to comment.