-
-
Notifications
You must be signed in to change notification settings - Fork 582
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 for sunpy.physics.differential_rotate #4333
Add tests for sunpy.physics.differential_rotate #4333
Conversation
@nabobalis is it mergeable now ? |
This needs two reviews from people who have worked on |
So I know that this persisted prior to this PR, but it would be nice to break these tests up a bit. Rather than having one monolithic As for the bits that test the time input, I think this could probably be parametrized, e.g. for a single function, the two possible input sets for observer and time could be |
shall i make a different test definition for time tests then ? @wtbarnes |
Yes. |
Yes that'd be great! If you're interested in taking a stab at seeing how the existing test code could be broken up, that could make things a bit nicer as well, e.g. having separate tests for all on disk, partially on disk, all of disk. |
Hello @dipanshu231099! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-07-25 07:52:47 UTC |
@wtbarnes i have segregated the different test blocks pre existing ones as well as new ones for the differential_rotate function |
@wtbarnes any other thing required in it? |
Thanks @dipanshu231099 |
Description
Previously the tests for differential rotation were only considering a new observer.
I have created tests for differential rotations as the time parameter is altered.
Fixes #3239