Package mvpa :: Package tests :: Module test_suite

[hide private]
[frames] | no frames]

# Source Code for Module mvpa.tests.test_suite

     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 test for PyMVPA mvpa.suite() of being loading ok"""
    10
    11  import unittest
    12
    13 -class SuiteTest(unittest.TestCase):
    14
    15 -    def testBasic(self):
    16          """Test if we are loading fine"""
    17          try:
    18              exec "from mvpa.suite import *"
    19          except Exception, e:
    20              self.fail(msg="Cannot import everything from mvpa.suite."
    21                        "Getting %s" % e)
    22
    23 -def suite():
    24      return unittest.makeSuite(SuiteTest)
    25
    26
    27  if __name__ == '__main__':
    28      import runner
    29