'Validate an endpoint with boolean values.
Validate boolean values as `enabled` in endpoint create requests.'

def test_validate_endpoint_create_succeeds_with_valid_enabled(self):

    for valid_enabled in _VALID_ENABLED_FORMATS:
        request_to_validate = {'enabled': valid_enabled, 'service_id': uuid.uuid4().hex, 'interface': 'public', 'url': 'https://service.example.com:5000/'}
        self.create_endpoint_validator.validate(request_to_validate)
