While this is a lazy fix i'll argue this script can be removed.
Firstly, i'm not sure how much of intake/source/discovery.py needs to be tested for a plugin. If I look at another intake plugin I use frequently (https://github.com/intake/intake_geopandas/tree/master/tests) there is no test for intake/source/discovery.py there. If other plugins do test for the this i'd be interested to see how they do it.
Secondly, this is a place which is prone to upstream changes in intake. If intake/source/discovery.py changes again this test may have to be modified again which may be a burden for new PRs.
Thirdly, it'll speed up my ability to use https://github.com/intake/intake-xarray/pull/118
Part of the fix for #119
While this is a lazy fix i'll argue this script can be removed.
Firstly, i'm not sure how much of
intake/source/discovery.py
needs to be tested for a plugin. If I look at another intake plugin I use frequently (https://github.com/intake/intake_geopandas/tree/master/tests) there is no test forintake/source/discovery.py
there. If other plugins do test for the this i'd be interested to see how they do it. Secondly, this is a place which is prone to upstream changes in intake. Ifintake/source/discovery.py
changes again this test may have to be modified again which may be a burden for new PRs. Thirdly, it'll speed up my ability to use https://github.com/intake/intake-xarray/pull/118