cf-python icon indicating copy to clipboard operation
cf-python copied to clipboard

Decorate unit tests requiring network access w/ conditional skip

Open sadielbartholomew opened this issue 2 years ago • 0 comments

See the second paragraph of https://github.com/NCAS-CMS/cf-python/pull/747#discussion_r1537494667. In short, to aid with development with limited internet access and help with issues of flaky URL access, we can create a small helper function to check for network access and use that to conditional skip tests which rely on being online, which are the minority of tests.

sadielbartholomew avatar Mar 26 '24 15:03 sadielbartholomew