astropy/pytest-remotedata

Add a decorator for tests that should run only when no connection is available

drdavella opened this issue · 1 comments

This will allow for code paths to be tested that expect remote data access to be disabled. Previously some tests in astropy tried to provide for this by accessing the INTERNET_OFF global variable, but this is no longer directly available to test code since it lives inside of this plugin.

Sounds good! Maybe an @internet_off decorator?