Skip to content

Conversation

@pp-mo
Copy link
Member

@pp-mo pp-mo commented Feb 21, 2020

Removed from iris : SciTools/iris#3670

@pp-mo pp-mo changed the title Testsfromiris grib load Import tests from iris.test.integration.test_grib load Feb 21, 2020
@coveralls
Copy link

coveralls commented Feb 21, 2020

Coverage Status

Coverage increased (+2.5%) to 92.288% when pulling 230cc02 on pp-mo:testsfromiris_grib_load into c4d152c on SciTools:master.

_RESULTDIR_PREFIX + ("missing_values_grib2.cml",))

@skip_irisgrib_fails
def test_y_fastest(self):
Copy link
Member

Choose a reason for hiding this comment

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

Why do you want to keep this test? We had already removed it from the iris repo: SciTools/iris#3632

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, I hadn't spotted that when I did this.

Copy link
Member Author

Choose a reason for hiding this comment

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

done.

_RESULTDIR_PREFIX = ("integration", "load_convert", "sample_file_loads")


@tests.skip_data
Copy link
Member

Choose a reason for hiding this comment

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

We don't typically do this for iris-grib tests as, unlike iris, we always download the iris-test data.
That said, maybe it's a good idea to future-proof these tests, should we decide to copy what iris does.

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 did check for usage within iris-grib and there are lots of existing uses, so I thought it best to keep it.

Copy link
Member

Choose a reason for hiding this comment

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

I see you are right, there are some that do use test.skip_data, but not all. We should try to be consistent with this and perhaps always include the @test.skip_data

@lbdreyer lbdreyer merged commit 80767be into SciTools:master Feb 24, 2020
pp-mo added a commit to pp-mo/iris-grib that referenced this pull request Feb 24, 2020
@pp-mo pp-mo mentioned this pull request Feb 24, 2020
lbdreyer pushed a commit that referenced this pull request Feb 24, 2020
* Updated release notes.

* Update version string.

* Remove redundant test skipper: should have been in #200.
@pp-mo pp-mo deleted the testsfromiris_grib_load branch June 16, 2020 13:01
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