@pytest.mark.parametrize(('validator_class', 'params'), [(ReCaptchaV2Validator, {}), (ReCaptchaV3Validator, {'action': 'test_action', 'required_score': 0.4})])
def test_recaptcha_validator_get_response_success(validator_class, params):
    validator = validator_class(**params)
    assert isinstance(validator.get_response('test_token'), RecaptchaResponse)
@pytest.mark.parametrize(('validator_class', 'params'), [(ReCaptchaV2Validator, {}), (ReCaptchaV3Validator, {'action': 'test_action', 'required_score': 0.4})])
def test_recaptcha_validator_get_response_success(validator_class, params):
    validator = validator_class(**params)
    assert isinstance(validator.get_response('test_token'), RecaptchaResponse)