From 7ff7dbc56b0f4b4d1578bfb48f711fd4d0af5846 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Fri, 7 Apr 2023 14:04:39 +0200 Subject: [PATCH] Added core test suite --- unittests/unittests/application.py | 2 ++ unittests/unittests_core/core_test_suite.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/unittests/unittests/application.py b/unittests/unittests/application.py index 9dfc29d5..932fb34b 100644 --- a/unittests/unittests/application.py +++ b/unittests/unittests/application.py @@ -4,6 +4,7 @@ from cpl_core.application import ApplicationABC from cpl_core.configuration import ConfigurationABC from cpl_core.dependency_injection import ServiceProviderABC from unittests_cli.cli_test_suite import CLITestSuite +from unittests_core.core_test_suite import CoreTestSuite from unittests_query.query_test_suite import QueryTestSuite from unittests_translation.translation_test_suite import TranslationTestSuite @@ -17,6 +18,7 @@ class Application(ApplicationABC): def main(self): runner = unittest.TextTestRunner() + runner.run(CoreTestSuite()) runner.run(CLITestSuite()) runner.run(QueryTestSuite()) runner.run(TranslationTestSuite()) diff --git a/unittests/unittests_core/core_test_suite.py b/unittests/unittests_core/core_test_suite.py index 1b837049..574cbead 100644 --- a/unittests/unittests_core/core_test_suite.py +++ b/unittests/unittests_core/core_test_suite.py @@ -8,7 +8,7 @@ from unittests_query.iterable_test_case import IterableTestCase from unittests_query.sequence_test_case import SequenceTestCase -class QueryTestSuite(unittest.TestSuite): +class CoreTestSuite(unittest.TestSuite): def __init__(self): unittest.TestSuite.__init__(self) @@ -21,4 +21,4 @@ class QueryTestSuite(unittest.TestSuite): if __name__ == "__main__": runner = unittest.TextTestRunner() - runner.run(QueryTestSuite()) + runner.run(CoreTestSuite())