Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup.Config Class Reference
Inheritance diagram for MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup.Config:
Inheritance graph
Collaboration diagram for MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup.Config:
Collaboration graph

List of all members.

Public Member Functions

def groups

Static Public Attributes

tuple admin_group = frozenset([u'Admin', u'JohnDoe'])
tuple editor_group = frozenset([u'MainEditor', u'JohnDoe'])
tuple fruit_group = frozenset([u'Apple', u'Banana', u'Cherry'])
dictionary first_backend_groups
tuple user_group = frozenset([u'JohnDoe', u'Bob', u'Joe'])
tuple city_group = frozenset([u'Bolzano', u'Riga', u'London'])
tuple second_admin_group = frozenset([u'TheHacker'])
dictionary second_backend_groups
tuple wikiconfig_dir = os.path.abspath(os.path.dirname(__file__))
 instance_dir = wikiconfig_dir
tuple data_dir = os.path.join(instance_dir, 'data', '')
tuple data_underlay_dir = os.path.join(instance_dir, 'underlay', '')
string sitename = u'Untitled Wiki'
string logo_string = u'<img src="%s/common/moinmoin.png" alt="MoinMoin Logo">'
list navi_bar
string theme_default = 'modern'
string language_default = 'en'
string page_category_regex = ur'(?P<all>Category(?P<key>(?!Template)\S+))'
string page_dict_regex = ur'(?P<all>(?P<key>\S+)Dict)'
string page_group_regex = ur'(?P<all>(?P<key>\S+)Group)'
string page_template_regex = ur'(?P<all>(?P<key>\S+)Template)'
int show_hosts = 1

Detailed Description

Definition at line 29 of file

Member Function Documentation

Definition at line 52 of file

00053         def groups(self, request):
00054             return CompositeGroups(request,
00055                                    ConfigGroups(request, self.first_backend_groups),
00056                                    ConfigGroups(request, self.second_backend_groups))
    def setup_method(self, method):

Member Data Documentation

Definition at line 31 of file

tuple MoinMoin.datastruct.backends._tests.test_composite_groups.TestCompositeGroup.Config.city_group = frozenset([u'Bolzano', u'Riga', u'London']) [static]

Definition at line 40 of file

tuple wikiconfig.Config.data_dir = os.path.join(instance_dir, 'data', '') [static, inherited]

Definition at line 51 of file

tuple wikiconfig.Config.data_underlay_dir = os.path.join(instance_dir, 'underlay', '') [static, inherited]

Definition at line 54 of file

Definition at line 32 of file

Initial value:
{u'AdminGroup': admin_group,
                                u'EditorGroup': editor_group,
                                u'FruitGroup': fruit_group}

Definition at line 35 of file

Definition at line 33 of file

Definition at line 48 of file

string wikiconfig.Config.language_default = 'en' [static, inherited]

Definition at line 152 of file

string wikiconfig.Config.logo_string = u'<img src="%s/common/moinmoin.png" alt="MoinMoin Logo">' [static, inherited]

Definition at line 73 of file

list wikiconfig.Config.navi_bar [static, inherited]
Initial value:
        # If you want to show your page_front_page here:

Definition at line 134 of file

string wikiconfig.Config.page_category_regex = ur'(?P<all>Category(?P<key>(?!Template)\S+))' [static, inherited]

Definition at line 159 of file

string wikiconfig.Config.page_dict_regex = ur'(?P<all>(?P<key>\S+)Dict)' [static, inherited]

Definition at line 160 of file

string wikiconfig.Config.page_group_regex = ur'(?P<all>(?P<key>\S+)Group)' [static, inherited]

Definition at line 161 of file

string wikiconfig.Config.page_template_regex = ur'(?P<all>(?P<key>\S+)Template)' [static, inherited]

Definition at line 162 of file

Definition at line 43 of file

Initial value:
{u'UserGroup': user_group,
                                 u'CityGroup': city_group,
                                 # Here group name clash occurs.
                                 # AdminGroup is defined in both
                                 # first_backend and second_backend.
                                 u'AdminGroup': second_admin_group}

Definition at line 45 of file

int wikiconfig.Config.show_hosts = 1 [static, inherited]

Definition at line 167 of file

string wikiconfig.Config.sitename = u'Untitled Wiki' [static, inherited]

Definition at line 68 of file

string wikiconfig.Config.theme_default = 'modern' [static, inherited]

Definition at line 143 of file

Definition at line 39 of file

tuple wikiconfig.Config.wikiconfig_dir = os.path.abspath(os.path.dirname(__file__)) [static, inherited]

Definition at line 38 of file

The documentation for this class was generated from the following file: