def test_all_group_permissions(self):
        settings = {
            'package.mypkg.group.g1': 'r',
            'package.mypkg.group.g2': 'rw',
        }
        backend = self._backend(settings)
        perms = backend.group_permissions('mypkg')
        self.assertEqual(perms, {'g1': ['read'], 'g2': ['read', 'write']})
Fetch all group permissions on a package
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestConfigBackend.test_all_group_permissions