X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2Ftests%2Ftest_lcm.py;h=cc18c378721f635ceaa9f101ff1ce120774c68f5;hb=afff693a2ae9757aee5f731ee12bca70cdb9a907;hp=af6f81de187197556c93ba562b3203189ce91a9c;hpb=56b86c280d4c67ea0844b2049b4e505abba8429e;p=osm%2FLCM.git diff --git a/osm_lcm/tests/test_lcm.py b/osm_lcm/tests/test_lcm.py index af6f81d..cc18c37 100644 --- a/osm_lcm/tests/test_lcm.py +++ b/osm_lcm/tests/test_lcm.py @@ -63,7 +63,6 @@ def check_file_content(health_check_file: str) -> str: class TestLcm(TestCase): - def setUp(self): self.config_file = os.getcwd() + "/osm_lcm/tests/test_lcm_config_file.yaml" self.config_file_without_storage_path = tempfile.mkstemp()[1] @@ -81,10 +80,10 @@ class TestLcm(TestCase): def test_get_health_check_file_from_config_file(self): self.assertEqual(self.my_lcm.health_check_file, "/tmp/storage/time_last_ping") - def test_health_check_file_not_in_config_file(self): - create_lcm_config(self.config_file, self.config_file_without_storage_path, 38) - with self.assertRaises(LcmException): - Lcm(config_file=self.config_file_without_storage_path) + # def test_health_check_file_not_in_config_file(self): + # create_lcm_config(self.config_file, self.config_file_without_storage_path, 38) + # with self.assertRaises(LcmException): + # Lcm(config_file=self.config_file_without_storage_path) def test_kafka_admin_topic_ping_command(self): params = {