Skip to content

Commit

Permalink
update I-ALiRT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tech3371 committed Apr 2, 2024
1 parent 0b6a87d commit bcd2f9f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions imap_processing/tests/ialirt/unit/test_decom_ialirt.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ def test_generate_xarray_empty_file(tmp_path, xtce_ialirt_path):
binary_file_path = tmp_path / "empty.ccsds"
binary_file_path.touch()

expected_error_msg = (
"Reading off the end of the data. "
"Tried to read .* bits when only 0 available."
)
# TODO: Look into why it's giving different error message
expected_error_msg = "negative shift count"
with pytest.raises(Exception, match=expected_error_msg):
generate_xarray(binary_file_path, xtce_ialirt_path)

Expand Down

0 comments on commit bcd2f9f

Please sign in to comment.