Beispiel #1
0
def getTestSuite(select="unit"):
    suite = unittest.TestSuite()
    suite.addTest(TestBaseHandler.getTestSuite(select=select))
    suite.addTest(TestEventMapper.getTestSuite(select=select))
    suite.addTest(TestEventRouterLoad.getTestSuite(select=select))
    suite.addTest(TestLogEvents.getTestSuite(select=select))
    suite.addTest(TestCompound.getTestSuite(select=select))
    suite.addTest(TestEmailAction.getTestSuite(select=select))
    suite.addTest(TestHttpAction.getTestSuite(select=select))
    suite.addTest(TestShellAction.getTestSuite(select=select))
    suite.addTest(TestTimeEventGenerator.getTestSuite(select=select))
    suite.addTest(TestWebbrickUdpEventReceiver.getTestSuite(select=select))
    suite.addTest(TestDelayedEvent.getTestSuite(select=select))
    suite.addTest(TestEggNunciate.getTestSuite(select=select))
    suite.addTest(TestValueConvert.getTestSuite(select=select))
#    suite.addTest(TestBackup.getTestSuite(select=select))
    suite.addTest(TestWebbrickMonitor.getTestSuite(select=select))
    suite.addTest(TestWebbrickStatusQuery.getTestSuite(select=select))
    suite.addTest(TestScheduleProcessor.getTestSuite(select=select))
    suite.addTest(TestHVAC.getTestSuite(select=select))

# work in prgress
    suite.addTest(TestPersistFile.getTestSuite(select=select))

# need external stuff
#    suite.addTest(TestAsterisk.getTestSuite())
#    suite.addTest(TestRgbLedLighting.getTestSuite())
#    suite.addTest(TestX10.getTestSuite())
    return suite
def getTestSuite():
    suite = unittest.TestSuite()
    suite.addTest(TestWebbrickUdpEventReceiver.getTestSuite())
    suite.addTest(TestBackup.getTestSuite())
    suite.addTest(TestWebbrickMonitor.getTestSuite())
    suite.addTest(TestWebbrickStatusQuery.getTestSuite())

# work in prgress
    suite.addTest(TestPersistFile.getTestSuite())

# need external stuff
    suite.addTest(TestAsterisk.getTestSuite())
    suite.addTest(TestRgbLedLighting.getTestSuite())
    suite.addTest(TestX10.getTestSuite())
    return suite