def METHOD_NAME(oauth_provider_var_mock):
    provider = oauth2.OauthProvider("other", auth_url="auth", refresh_url="refresh")
    with pytest.raises(AirflowSkipException):
        oauth2.refresh(provider)