def getTestSuite(select="unit"): suite = unittest.TestSuite() suite.addTest(TestBasicCommands.getTestSuite(select=select)) suite.addTest(TestAnnotationUtils.getTestSuite(select=select)) suite.addTest(TestManifest.getTestSuite(select=select)) suite.addTest(TestROMetadata.getTestSuite(select=select)) suite.addTest(TestAnnotations.getTestSuite(select=select)) suite.addTest(TestLinks.getTestSuite(select=select)) suite.addTest(TestMinimAccess.getTestSuite(select=select)) suite.addTest(TestEvalChecklist.getTestSuite(select=select)) if select != "unit": suite.addTest(TestROSRS_Session.getTestSuite(select=select)) suite.addTest(TestRemoteROMetadata.getTestSuite(select=select)) suite.addTest(TestROSRSMetadata.getTestSuite(select=select)) suite.addTest(TestRosrsSync.getTestSuite(select=select)) suite.addTest(TestSyncCommands.getTestSuite(select=select)) return suite
def getTestSuite(select="unit"): suite = unittest.TestSuite() suite.addTest(TestSparqlQueries.getTestSuite(select=select)) suite.addTest(TestBasicCommands.getTestSuite(select=select)) suite.addTest(TestAnnotationUtils.getTestSuite(select=select)) suite.addTest(TestManifest.getTestSuite(select=select)) suite.addTest(TestROMetadata.getTestSuite(select=select)) suite.addTest(TestAnnotations.getTestSuite(select=select)) suite.addTest(TestLinks.getTestSuite(select=select)) suite.addTest(TestMinimAccess.getTestSuite(select=select)) suite.addTest(TestMinimAccess2.getTestSuite(select=select)) suite.addTest(TestEvalChecklist.getTestSuite(select=select)) suite.addTest(TestEvalQueryMatch.getTestSuite(select=select)) suite.addTest(TestRdfReport.getTestSuite(select=select)) suite.addTest(TestGridMatch.getTestSuite(select=select)) suite.addTest(TestMkMinim.getTestSuite(select=select)) if select != "unit": suite.addTest(TestROSRS_Session.getTestSuite(select=select)) suite.addTest(TestRemoteROMetadata.getTestSuite(select=select)) suite.addTest(TestROSRSMetadata.getTestSuite(select=select)) suite.addTest(TestRosrsSync.getTestSuite(select=select)) suite.addTest(TestSyncCommands.getTestSuite(select=select)) suite.addTest(TestEvoCommands.getTestSuite(select)); return suite