kurze Korrektur der Testmethoden

This commit is contained in:
2023-12-14 12:43:12 +01:00
parent 9b8c83ab75
commit c0f2758e01
+2 -4
View File
@@ -173,9 +173,7 @@ class TestTOSGroupsGeneral(unittest.TestCase):
} }
} }
""" """
def test_get_keywords_of_level_from_string(self):
def test_get_keywords_of_level_from_local_file(self):
""" """
Test whether the extraction of the different TOS Level works Test whether the extraction of the different TOS Level works
loaded from local config and environment variable loaded from local config and environment variable
@@ -192,7 +190,7 @@ class TestTOSGroupsGeneral(unittest.TestCase):
level2 = TOS_CFG.get_keywords_of_level(allKeywords, 2) level2 = TOS_CFG.get_keywords_of_level(allKeywords, 2)
self.assertCountEqual(level2, ["TOS_ILS", "TOS_MAS", "TOS_Spinnereikomponente", "TOS_Betriebsmittel"]) 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 Test whether the extraction of the different TOS Level works
loaded from local config and environment variable loaded from local config and environment variable