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

1
2
3
4
5
6
7
8
9
10
11
12
13
from MoinMoin.config.multiconfig import DefaultConfig

class NoUnderlay(DefaultConfig):
    data_underlay_dir = None

_tests = [NoUnderlay, ]

class TestConfigs:
    def testConfigs(self):
        for cls in _tests:
            cls.data_dir = self.request.cfg.data_dir
            # quite a bad hack to make _importPlugin succeed
            cls('MoinMoin')