IMAP-Science-Operations-Center / imap_processing

IMAP
MIT License
6 stars 14 forks source link

Add tests for XTCE packet parsing #784

Closed greglucas closed 2 months ago

greglucas commented 2 months ago

Summary

There are currently no tests for the XTCE converter content. We should add some tests that mock up a spreadsheet and convert it to an XTCE file with the expected content.

Similar to the metadata_generation tools where we are mocking up spreadsheet tabs already: https://github.com/IMAP-Science-Operations-Center/imap_processing/blob/dev/tools/metadata_generation/tests/test_metadata_generation.py

Requirements

The more specific the better.

Related tickets

No response

bourque commented 2 months ago

I think this could be a good student task, so I marked it as such

greglucas commented 2 months ago

Apparently we already had this in the test suite, so I'm going to close this issue as already completed. Sorry for the indirection here! See: https://github.com/IMAP-Science-Operations-Center/imap_processing/pull/783 for a discussion of the updates to dynamically generate the file instead of using the manually saved version.