-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add tests #6
Conversation
* main: chore: Add ruff to the dev requirements files docs: Pass tests docs: auto generated fixes docs: formatting docs: Notes from the first read through Revert "simplifying to use only the geo_em files not the cro and dot files"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Urgh I see what you mean.
In this case, it is fine to wrap download part of the omDownloadInputs.py
in a function and then call that function from within a if __name__ == '__main__':
block. That will allow you to import omDownloadInputs
without triggering the download and follows a pattern that is similar to other scripts in the repo.
That should allow you to not need the temporary_file_for_tests.py
Co-authored-by: Jared Lewis <jared@jared.kiwi.nz>
I'm testing the github workflow with this pull request. So it can be ignored for now.