'Exception raised when secret is given.'

def test_validate_update_consumer_request_fails_with_secret(self):

    request_to_validate = {'secret': uuid.uuid4().hex}
    self.assertRaises(exception.SchemaValidationError, self.update_consumer_validator.validate, request_to_validate)
