def test_single_user_data(self):
        settings = {
            'user.foo': 'pass',
            'auth.admins': ['foo'],
            'group.foobars': ['foo'],
        }
        backend = self._backend(settings)
        user = backend.user_data('foo')
        self.assertEqual(user, {
            'username': 'foo',
            'admin': True,
            'groups': ['foobars'],
        })
Get data for a single user
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestConfigBackend.test_single_user_data