'Exception raised when invalid `type` on policy update.'

def test_validate_policy_update_with_invalid_type_fails(self):

    for prop in ['blob', 'type']:
        request_to_validate = {prop: False}
        self.assertRaises(exception.SchemaValidationError, self.update_policy_validator.validate, request_to_validate)
