def test_user_data(self):
        u1 = make_user('foo', 'bar', False)
        u1.admin = True
        u2 = make_user('bar', 'bar', False)
        g1 = Group('foobars')
        u2.groups.add(g1)
        self.db.add_all([u1, u2, g1])
        transaction.commit()
        users = self.access.user_data()
        self.assertItemsEqual(users, [
            {'username': 'foo', 'admin': True},
            {'username': 'bar', 'admin': False},
        ])
Initialize all valid properties.
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestSQLBackend.test_user_data--crossover with--dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/diagnosticorder.py/DiagnosticOrder.__init__