Add a decorator for tests that should run only when no connection is available
drdavella opened this issue · 1 comments
drdavella commented
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.
astrofrog commented
Sounds good! Maybe an @internet_off
decorator?