Esempio n. 1
0
def suite():
  suite = unittest.TestSuite()
  suite.addTest(SetupTests('test_setup'))
  return suite

def setUpModule():
      pass

   
class SetupTests(unittest.TestCase):

  def test_setup(self):
    self.assertTrue(True)

if __name__ == '__main__':

  import logging
  import test_kurtogram
  logging.basicConfig(level=logging.INFO, format='%(levelname)s : %(asctime)s : %(message)s')
 

  suites={}
  suites['ThisSuite']=suite()
  suites['KurtogramSuite']=test_kurtogram.suite()

  alltests=unittest.TestSuite(suites.values())

  unittest.TextTestRunner(verbosity=2).run(alltests)
 
Esempio n. 2
0
class SetupTests(unittest.TestCase):
    def test_setup(self):
        self.assertTrue(True)


if __name__ == '__main__':

    import test_processing, test_migration, test_location, test_hdf5, test_nllstuff, test_correlation
    import test_double_diff, test_clustering, test_kurtogram
    import logging
    logging.basicConfig(level=logging.INFO,
                        format='%(levelname)s : %(asctime)s : %(message)s')

    suite_list = [
        suite(),
        test_processing.suite(),
        test_migration.suite(),
        test_location.suite(),
        test_hdf5.suite(),
        test_nllstuff.suite(),
        test_kurtogram.suite(),
        test_correlation.suite(),
        test_clustering.suite(),
        test_double_diff.suite(),
    ]

    alltests = unittest.TestSuite(suite_list)

    unittest.TextTestRunner(verbosity=2).run(alltests)
Esempio n. 3
0
class SetupTests(unittest.TestCase):

  def test_setup(self):
    self.assertTrue(True)

if __name__ == '__main__':

  import test_processing, test_migration, test_location, test_hdf5, test_nllstuff, test_correlation
  import test_double_diff, test_clustering, test_kurtogram
  import logging
  logging.basicConfig(level=logging.INFO, format='%(levelname)s : %(asctime)s : %(message)s')
 

  suite_list=[suite(),
    test_processing.suite(),
    test_migration.suite(),
    test_location.suite(),
    test_hdf5.suite(),
    test_nllstuff.suite(),
    test_kurtogram.suite(),
    test_correlation.suite(),
    test_clustering.suite(),
    test_double_diff.suite(),
    ]

  alltests=unittest.TestSuite(suite_list)

  unittest.TextTestRunner(verbosity=2).run(alltests)