Skip to content

Conversation

@lbdreyer
Copy link
Member

@lbdreyer lbdreyer commented Feb 21, 2020

Companion PR: SciTools/iris#3669

Basically a lift and shift of the tests in iris/tests/integration/test_grib_save.py other than the minor necessary changes such as inherit from iris_grib.tests.IrisGribTest rather than iris.tests.IrisTest

I just moved it to a file called iris_grib/tests/integration/save_rules/test_grib_save.py as I thought that would be the easiest to review, but I could move it somewhere more sensible, iris_grib/tests/integration/save_rules/init.py for example.

@coveralls
Copy link

coveralls commented Feb 21, 2020

Coverage Status

Coverage increased (+1.4%) to 89.753% when pulling 583872f on lbdreyer:grib_save into 0335a4b on SciTools:master.

def _lat_lon_cube_no_time(self):
"""
Returns a cube with a latitude and longitude suitable for testing
saving to PP/NetCDF etc.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this no longer makes sense in the context of testing for GRIB.
I'll change this docstring

@lbdreyer
Copy link
Member Author

I've now updated this PR with an extra commit that edit the tests slightly to make them more understandable in the context of iris_grib

@pp-mo pp-mo merged commit cd5d581 into SciTools:master Feb 21, 2020
@lbdreyer lbdreyer deleted the grib_save branch June 27, 2021 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants