Skip to content

Commit

Permalink
Fixed path issue in HIT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bourque committed Feb 13, 2024
1 parent 47c34ac commit 7b9f285
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions imap_processing/tests/hit/test_hit_decom.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
import pytest

from imap_processing import imap_module_directory
from imap_processing.hit.l0 import hit_l1a_decom


@pytest.fixture(scope="session")
def decom_test_data():
"""Read test data from file"""
packet_file = (
"imap_processing/tests/hit/PREFLIGHT_raw_record_2023_256_15_59_04_apid1251.pkts"
)
xtce = "imap_processing/hit/packet_definitions/P_HIT_HSKP.xml"
packet_file = f"{imap_module_directory}/tests/hit/PREFLIGHT_raw_record_2023_256_15_59_04_apid1251.pkts" # noqa
xtce = f"{imap_module_directory}/hit/packet_definitions/P_HIT_HSKP.xml"
data_packet_list = hit_l1a_decom.decom_hit_packets(packet_file, xtce)
return data_packet_list

Expand Down

0 comments on commit 7b9f285

Please sign in to comment.