Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Re-use test fixtures within the module if possible #311

Merged

Conversation

greglucas
Copy link
Collaborator

Change Summary

Overview

This speeds things up by not having to read the data so often.

Luckily or unluckily GLOWS was the only one that was easy to update and tests still passed. IDEX mutated their read-in data, so had to it has to be re-read each time, and Ultra was using function-level fixtures which can't be increased in scope, but seemingly those could be updated as well.

This speeds things up by not having to read the data so often
@greglucas greglucas added Ins: GLOWS Related to the GLOWS instrument Level: L0 Level 0 processing labels Jan 9, 2024
@greglucas greglucas requested a review from maxinelasp January 9, 2024 02:38
@maxinelasp
Copy link
Contributor

Thanks for catching this, I'll keep it in mind for future tests too!

@greglucas greglucas merged commit f2560cf into IMAP-Science-Operations-Center:dev Jan 9, 2024
17 checks passed
@greglucas greglucas deleted the tst-glows-fixture branch January 9, 2024 21:14
laspsandoval pushed a commit to laspsandoval/imap_processing that referenced this pull request Apr 2, 2024
…tst-glows-fixture

TST: Re-use test fixtures within the module if possible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ins: GLOWS Related to the GLOWS instrument Level: L0 Level 0 processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants