~ubuntu-branches/ubuntu/precise/moin/precise-updates

« back to all changes in this revision

Viewing changes to MoinMoin/config/_tests/test_configs.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-11-13 16:45:52 UTC
  • mfrom: (0.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20081113164552-49t6zf2t2o5bqigh
Tags: 1.8.0-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop recommendation of python-xml, the packages isn't anymore in
    sys.path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from MoinMoin.config.multiconfig import DefaultConfig
2
 
 
3
 
class NoUnderlay(DefaultConfig):
4
 
    data_underlay_dir = None
5
 
 
6
 
_tests = [NoUnderlay, ]
7
 
 
8
 
class TestConfigs:
9
 
    def testConfigs(self):
10
 
        for cls in _tests:
11
 
            cls.data_dir = self.request.cfg.data_dir
12
 
            # quite a bad hack to make _importPlugin succeed
13
 
            cls('MoinMoin')