Add skip Horizon check in case of CICD

Change-Id: I3516494ec8d6acf13195b50683a42caa16eace7d
Related-PROD: PROD-25446
(cherry picked from commit dac43843c65d7e247ca898f1aeb5591ef53d0381)
diff --git a/cvp_checks/tests/test_ui_addresses.py b/cvp_checks/tests/test_ui_addresses.py
index 15c9068..82bcae1 100644
--- a/cvp_checks/tests/test_ui_addresses.py
+++ b/cvp_checks/tests/test_ui_addresses.py
@@ -8,6 +8,8 @@
         'pillar.get',
         ['_param:cluster_public_host'],
         expr_form='pillar')
+    if not salt_output:
+        pytest.skip("Horizon is not enabled on this environment")
     IP = [salt_output[node] for node in salt_output
           if salt_output[node]]
     result = local_salt_client.cmd(