Home | Trees | Indices | Help |
|
---|
|
1 # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- 2 # vi: set ft=python sts=4 ts=4 sw=4 et: 3 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## 4 # 5 # See COPYING file distributed along with the PyMVPA package for the 6 # copyright and license terms. 7 # 8 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## 9 """Unit tests for PyMVPA dense array mapper""" 10 11 12 import unittest 13 from mvpa.base.config import ConfigManager 141626 27 2818 cfg = ConfigManager() 19 20 # does nothing so far, but will be used to test the default 21 # configuration from doc/examples/pymvpa.cfg 22 23 # query for some non-existing option and check if default is returned 24 query = cfg.get('dasgibtsdochnicht', 'neegarnicht', default='required') 25 self.failUnless(query == 'required')30 return unittest.makeSuite(ConfigTests)31 32 33 if __name__ == '__main__': 34 import runner 35
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 23 23:09:51 2012 | http://epydoc.sourceforge.net |