def test_revoke_user_permission(self):
        user = make_user('foo', 'bar', False)
        perm = UserPermission('pkg1', 'foo', read=True)
        self.db.add_all([user, perm])
        transaction.commit()
        self.access.edit_user_permission('pkg1', 'foo', 'read', False)
        transaction.commit()
        self.db.add(user)
        self.assertEqual(len(user.permissions), 0)
Returns the default collector settings
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestSQLBackend.test_revoke_user_permission--crossover with--dataset/ETHPy150Open BrightcoveOS/Diamond/src/collectors/ossec/ossec.py/OssecCollector.get_default_config