cleanup how message factory is used
[testsuite/python-testing-utils.git] / robotframework-onap / tests / runner.py
1 from unittest import TextTestRunner
2 from unittest import TestLoader
3 from unittest import TestSuite
4
5 # import your test modules
6 from tests.vcpeutils.SoUtils_test import SoUtilsTest
7 from tests.ONAPLibrary.ProtobufKeywordsTest import ProtobufKeywordsTest
8
9
10 # initialize the test suite
11 loader = TestLoader()
12 suite = TestSuite()
13
14 # add tests to the test suite
15 suite.addTests(loader.loadTestsFromTestCase(ProtobufKeywordsTest))
16 suite.addTests(loader.loadTestsFromTestCase(SoUtilsTest))
17
18 # initialize a runner, pass it your suite and run it
19 runner = TextTestRunner(verbosity=3)
20 result = runner.run(suite)