select is one of the following: "unit" return suite of unit tests only "component" return suite of unit and component tests "all" return suite of unit, component and integration tests "pending" return suite of pending tests name a single named test to be run """ testdict = { "unit": [ "testUnits" , "test01CreateSilo" , "testFileUploadBulk" ], "component": [ "testComponents" ], "integration": [ "testIntegration" ], "pending": [ "testPending" ] } return TestUtils.getTestSuite(TestSubmission, testdict, select=select) if __name__ == "__main__": TestUtils.runTests("TestSubmission.log", getTestSuite, sys.argv) # End.
"unit" return suite of unit tests only "component" return suite of unit and component tests "all" return suite of unit, component and integration tests "pending" return suite of pending tests name a single named test to be run """ testdict = { "unit": [ "testUnits" , "test1CreateSilo" , "test2SiloInfo" , "test3UpdateSiloInfo" , "test4DeleteSilo" ], "component": [ "testComponents" ], "integration": [ "testIntegration" ], "pending": [ "testPending" ] } return TestUtils.getTestSuite(TestAdmin, testdict, select=select) if __name__ == "__main__": TestUtils.runTests("TestAdmin.log", getTestSuite, sys.argv) # End.