Back to index

moin  1.9.0~rc2
test_config_groups.py
Go to the documentation of this file.
00001 # -*- coding: iso-8859-1 -*-
00002 """
00003     MoinMoin - MoinMoin.backends.config_groups tests
00004 
00005     @copyright: 2009 by MoinMoin:DmitrijsMilajevs
00006     @license: GNU GPL, see COPYING for details.
00007 """
00008 
00009 from MoinMoin.datastruct.backends._tests import GroupsBackendTest
00010 from MoinMoin.datastruct import ConfigGroups
00011 from MoinMoin._tests import wikiconfig
00012 
00013 
00014 class TestConfigGroupsBackend(GroupsBackendTest):
00015 
00016     class Config(wikiconfig.Config):
00017 
00018         def groups(self, request):
00019             groups = GroupsBackendTest.test_groups
00020             return ConfigGroups(request, groups)
00021 
00022 
00023 coverage_modules = ['MoinMoin.datastruct.backends.config_groups']
00024