From c0f2758e01725ad4b088db25fab858079af64a55 Mon Sep 17 00:00:00 2001 From: mistangl Date: Thu, 14 Dec 2023 12:43:12 +0100 Subject: [PATCH] kurze Korrektur der Testmethoden --- lib/test.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/test.py b/lib/test.py index 97f6126..7401cb4 100644 --- a/lib/test.py +++ b/lib/test.py @@ -173,9 +173,7 @@ class TestTOSGroupsGeneral(unittest.TestCase): } } """ - - - def test_get_keywords_of_level_from_local_file(self): + def test_get_keywords_of_level_from_string(self): """ Test whether the extraction of the different TOS Level works loaded from local config and environment variable @@ -192,7 +190,7 @@ class TestTOSGroupsGeneral(unittest.TestCase): level2 = TOS_CFG.get_keywords_of_level(allKeywords, 2) self.assertCountEqual(level2, ["TOS_ILS", "TOS_MAS", "TOS_Spinnereikomponente", "TOS_Betriebsmittel"]) - def test_get_all_keywords_from_local_file(self): + def test_get_all_keywords_from_string(self): """ Test whether the extraction of the different TOS Level works loaded from local config and environment variable