def test_get_online_vso_url(mocker): """ No wsdl links returned valid HTTP response? Return None """ mocker.patch('sunpy.net.vso.vso.check_connection', return_value=None) assert get_online_vso_url() is None
def test_get_online_vso_url(mock_urlopen): """ No wsdl links returned valid HTTP response? Return None """ assert get_online_vso_url(None, None, None) is None