def test_it_denies_group_changes(self):
        request = testing.DummyRequest()
        annotation = {'group': 'flibble'}
        schema = schemas.LegacyUpdateAnnotationSchema(request, annotation)
        data = {
            'group': '__world__'
        }

        with pytest.raises(schemas.ValidationError) as exc:
            schema.validate(data)

        assert exc.value.message.startswith('group:')
An annotation may not be moved between groups.
dataset/ETHPy150Open hypothesis/h/h/api/test/schemas_test.py/TestLegacyUpdateAnnotationSchema.test_it_denies_group_changes