~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to tests/wikiconfig.py

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: iso-8859-1 -*-
 
2
"""
 
3
MoinMoin - test wiki configuration
 
4
 
 
5
@copyright: 2000-2004 by Juergen Hermann <jh@web.de>
 
6
@license: GNU GPL, see COPYING for details.
 
7
"""
 
8
 
 
9
import os
 
10
 
 
11
from MoinMoin.config.multiconfig import DefaultConfig
 
12
 
 
13
 
 
14
class Config(DefaultConfig):
 
15
    sitename = u'Developer Test Wiki'
 
16
    logo_string = sitename
 
17
 
 
18
    _base_dir = os.path.join(os.path.dirname(__file__), 'wiki')
 
19
    data_dir = os.path.join(_base_dir, "data")
 
20
    data_underlay_dir = os.path.join(_base_dir, "underlay")
 
21
 
 
22
    show_hosts = 1
 
23
    # used to check if it is really a wiki we may modify
 
24
    is_test_wiki = True
 
25