Back to index

moin  1.9.0~rc2
wikiconfig.py
Go to the documentation of this file.
00001 # -*- coding: iso-8859-1 -*-
00002 """
00003 MoinMoin - test wiki configuration
00004 
00005 Do not change any values without good reason.
00006 
00007 We mostly want to have default values here, except for stuff that doesn't
00008 work without setting them (like data_dir and underlay_dir).
00009 
00010 @copyright: 2000-2004 by Juergen Hermann <jh@web.de>
00011 @license: GNU GPL, see COPYING for details.
00012 """
00013 
00014 import os
00015 
00016 from MoinMoin.config.multiconfig import DefaultConfig
00017 
00018 
00019 class Config(DefaultConfig):
00020     sitename = u'Developer Test Wiki'
00021     logo_string = sitename
00022 
00023     _base_dir = os.path.join(os.path.dirname(__file__), '../../tests/wiki')
00024     data_dir = os.path.join(_base_dir, "data")
00025     data_underlay_dir = os.path.join(_base_dir, "underlay")
00026 
00027     #show_hosts = 1
00028 
00029     #secrets = 'some not secret string just to make tests happy'
00030 
00031     # used to check if it is really a wiki we may modify
00032     is_test_wiki = True
00033