def test_make_admin(self):
        user = make_user('foo', 'bar', False)
        self.db.add(user)
        transaction.commit()
        self.access.set_user_admin('foo', True)
        transaction.commit()
        self.db.add(user)
        self.assertTrue(user.admin)
set extensions
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestSQLBackend.test_make_admin--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/tests/extension_registry_test_case.py/ExtensionRegistryTestCase.test_set_extensions