From fa002a50ac9623def08d1f685fd27fc480084b38 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 26 Jun 2022 00:41:25 +0200 Subject: [PATCH] Fixed for start command --- unittests/unittests_cli/cli_test_suite.py | 14 +++++++------- unittests/unittests_cli/start_test_case.py | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/unittests/unittests_cli/cli_test_suite.py b/unittests/unittests_cli/cli_test_suite.py index c615ab5a..eea5426e 100644 --- a/unittests/unittests_cli/cli_test_suite.py +++ b/unittests/unittests_cli/cli_test_suite.py @@ -30,20 +30,20 @@ class CLITestSuite(unittest.TestSuite): active_tests = [ # nothing needed - # GenerateTestCase, - # NewTestCase, + GenerateTestCase, + NewTestCase, # compare console output # VersionTestCase, # project needed - # BuildTestCase, - # PublishTestCase, - # RunTestCase, + BuildTestCase, + PublishTestCase, + RunTestCase, StartTestCase, # check in project settings if package is updated # UpdateTestCase, # workspace needed - # AddTestCase, - # RemoveTestCase + AddTestCase, + RemoveTestCase ] if self._is_online: diff --git a/unittests/unittests_cli/start_test_case.py b/unittests/unittests_cli/start_test_case.py index 8782b5ca..a0c86a03 100644 --- a/unittests/unittests_cli/start_test_case.py +++ b/unittests/unittests_cli/start_test_case.py @@ -25,7 +25,7 @@ class StartTestCase(unittest.TestCase): settings = json.load(cfg) cfg.close() - if settings['RunTest']['WasStarted']: + if settings['RunTest']['WasStarted'] == 'True': settings['RunTest']['WasRestarted'] = 'True' settings['RunTest']['WasStarted'] = 'True'