view MoinMoin/datastruct/backends/_tests/ @ 4832:f83b7b0b59c4

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

    @copyright: 2003-2004 by Juergen Hermann <>,
                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']