blob: ae132d1de764cdcee9b4c25e5a9b41420e62a380 [file] [log] [blame]
DR695Heb594302019-07-17 18:50:55 -04001from unittest import TextTestRunner
2from unittest import TestLoader
3from unittest import TestSuite
DR695H158df8f2019-05-04 15:51:36 -04004
5# import your test modules
DR695Heb594302019-07-17 18:50:55 -04006from tests.vcpeutils.SoUtils_test import SoUtilsTest
7from tests.ONAPLibrary.ProtobufKeywordsTest import ProtobufKeywordsTest
DR695H1fade322019-07-18 18:08:56 -04008from tests.ONAPLibrary.UUIDKeywordsTest import UUIDKeywordsTest
DR695H601ead62019-07-19 14:29:09 -04009from tests.ONAPLibrary.ServiceMappingKeywordsTests import ServiceMappingKeywordsTests
DR695H4c8dc6a2019-07-19 16:55:55 -040010from tests.ONAPLibrary.Base64KeywordsTests import Base64KeywordsTests
DR695Hafd52372019-08-12 18:17:19 -040011from tests.ONAPLibrary.RequestsHelperTests import RequestsHelperTests
DR695H4ab02dd2019-08-20 12:37:45 -040012from tests.ONAPLibrary.AAITests import AAITests
DR695H303fda12019-09-19 12:24:38 -040013from tests.ONAPLibrary.SOTests import SOTests
DR695H158df8f2019-05-04 15:51:36 -040014
15# initialize the test suite
DR695Heb594302019-07-17 18:50:55 -040016loader = TestLoader()
17suite = TestSuite()
DR695H158df8f2019-05-04 15:51:36 -040018
19# add tests to the test suite
DR695H4ab02dd2019-08-20 12:37:45 -040020suite.addTests(loader.loadTestsFromTestCase(AAITests))
DR695H303fda12019-09-19 12:24:38 -040021suite.addTests(loader.loadTestsFromTestCase(SOTests))
DR695Heb594302019-07-17 18:50:55 -040022suite.addTests(loader.loadTestsFromTestCase(ProtobufKeywordsTest))
DR695H158df8f2019-05-04 15:51:36 -040023suite.addTests(loader.loadTestsFromTestCase(SoUtilsTest))
DR695H1fade322019-07-18 18:08:56 -040024suite.addTests(loader.loadTestsFromTestCase(UUIDKeywordsTest))
DR695H601ead62019-07-19 14:29:09 -040025suite.addTests(loader.loadTestsFromTestCase(ServiceMappingKeywordsTests))
DR695H4c8dc6a2019-07-19 16:55:55 -040026suite.addTests(loader.loadTestsFromTestCase(Base64KeywordsTests))
DR695Hafd52372019-08-12 18:17:19 -040027suite.addTests(loader.loadTestsFromTestCase(RequestsHelperTests))
DR695H158df8f2019-05-04 15:51:36 -040028
29# initialize a runner, pass it your suite and run it
DR695Heb594302019-07-17 18:50:55 -040030runner = TextTestRunner(verbosity=3)
DR695H158df8f2019-05-04 15:51:36 -040031result = runner.run(suite)