view MoinMoin/datastruct/backends/_tests/test_config_groups.py @ 4832:f83b7b0b59c4

Groups2009: groups and dicts were merged inside of the datastruct module.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Fri, 03 Jul 2009 16:36:47 +0100
parents MoinMoin/datastruct/groups/backends/_tests/test_config_groups.py@069aac5ce3e4
children 50732c861ac2
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - MoinMoin.backends.wiki_group tests

    @copyright: 2003-2004 by Juergen Hermann <jh@web.de>,
                2007 by MoinMoin:ThomasWaldmann
                2008 by MoinMoin:MelitaMihaljevic
                2009 by MoinMoin:DmitrijsMilajevs
    @license: GNU GPL, see COPYING for details.

"""

from  MoinMoin.datastruct.backends._tests import BackendTest
from MoinMoin.datastruct import ConfigGroups
from MoinMoin._tests import wikiconfig


class TestConfigBackend(BackendTest):

    class Config(wikiconfig.Config):

        def group_manager_init(self, request):
            groups = BackendTest.test_groups
            return ConfigGroups(request, groups)


coverage_modules = ['MoinMoin.datastruct.backends.config_groups']