-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cleanup tests #85
Cleanup tests #85
Conversation
Got the file under 2000 lines, 🎉 |
@djhoese I can't seem to figure out how to fix the sphinx error. I added the |
Check how I do it in satpy. I think I had to load pytest_lazy_fixture directly and use tha5, not the pytest.plugin version. |
@djhoese thanks! trying this now. |
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.
If the coverage loss is purely just the changing lines in the test_pycoast.py module then 👌. If it is any part of the contour writer modules then not 👌.
Nice job. Looks much better.
I haven't changed anything in the production code, and didn't remove any test functionality, so my guess is that the coverage drop is due to fewer test lines and more production lines. Maybe we should remove the tests from the coverage computation? |
I'm not a fan of this. I feel like it is a quick identifier for when a typo makes a test not run or a utility/helper in a test isn't used anymore. |
Coveralls shows that the |
Indeed, removing it. |
As a continuation of #84 , some more grunt work to refactor and cleanup the tests.
git diff origin/main **/*py | flake8 --diff