def test_it_allows_permissions_changes_if_admin(self, authn_policy):
        authn_policy.authenticated_userid.return_value = (
            'acct:harriet@example.com')
        request = testing.DummyRequest()
        annotation = {
            'permissions': {'admin': ['acct:harriet@example.com']}
        }
        schema = schemas.LegacyUpdateAnnotationSchema(request, annotation)
        data = {
            'permissions': {'admin': ['acct:foo@example.com']}
        }

        result = schema.validate(data)

        assert result == data
Map pixel indexes into a sky coordinate in the WCS system
dataset/ETHPy150Open hypothesis/h/h/api/test/schemas_test.py/TestLegacyUpdateAnnotationSchema.test_it_allows_permissions_changes_if_admin--crossover with--dataset/ETHPy150Open ejeschke/ginga/ginga/util/wcsmod.py/BaseWCS.pixtoradec