def test_user_perms(self):
        settings = {
            'package.mypkg.user.u1': 'r',
            'package.mypkg.user.u2': 'rw',
        }
        backend = self._backend(settings)
        perms = backend.user_permissions('mypkg', 'u1')
        self.assertEqual(perms, ['read'])
Fetch permissions on a package for one user
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestConfigBackend.test_user_perms