Update tests to take into account code changes in certificate validation 06/13906/1 release-v15.0-start
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 29 Sep 2023 12:06:52 +0000 (14:06 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 29 Sep 2023 12:06:52 +0000 (14:06 +0200)
Change-Id: Icc77c98d1513ca12d53ba55571eab27fd3b77fd9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_policy_module/tests/unit/alarming/test_alarming_service.py

index 65025e5..20e98ea 100644 (file)
@@ -55,7 +55,6 @@ class TestAlarmingService(TestCase):
                 url="http://alarm-url/",
                 data='{"notify_details": {"alarm_number": 1}}',
                 headers={"content-type": "application/json"},
-                verify=False,
                 timeout=alert_timeout,
             )
         else:
@@ -78,7 +77,6 @@ class TestAlarmingService(TestCase):
                 url="http://ok-url/",
                 data='{"notify_details": {"alarm_number": 0}}',
                 headers={"content-type": "application/json"},
-                verify=False,
                 timeout=alert_timeout,
             )
         else:
@@ -103,7 +101,6 @@ class TestAlarmingService(TestCase):
                 url="http://insufficient-data-url/",
                 data='{"notify_details": {"alarm_number": 0}}',
                 headers={"content-type": "application/json"},
-                verify=False,
                 timeout=alert_timeout,
             )
         else: