'Property marked with special char @ deletable by an unknown role'

def test_delete_non_protected_prop(self):

    self.set_property_protections()
    request = unit_test_utils.get_fake_request(roles=['admin'])
    image = {'name': 'image-1'}
    extra_props = {'x_all_permitted': 'bar'}
    created_image = self.controller.create(request, image=image, extra_properties=extra_props, tags=[])
    another_request = unit_test_utils.get_fake_request(roles=['member'])
    changes = [{'op': 'remove', 'path': ['x_all_permitted']}]
    output = self.controller.update(another_request, created_image.image_id, changes)
    self.assertRaises(KeyError, output.extra_properties.__getitem__, 'x_all_permitted')
