view MoinMoin/_tests/ @ 4781:cee722c2097c

Groups2009: is used for the groups-related configuration instead of altering in _tests.
author Dmitrijs Milajevs <>
date Wed, 03 Jun 2009 12:10:14 +0200
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
MoinMoin.groups related configuration is defined here.

@copyright: 2009 by MoinMoin:DmitrijsMilajevs
@license: GNU GPL, see COPYING for details.

from wikiconfig import LocalConfig
from MoinMoin.groups import GroupManager

class Config(LocalConfig):
    group_manager_init = lambda self, request: GroupManager([])