Loading src/tests/ecoc26_pluggables/tests/test_zsm_failure_notification.py +4 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,9 @@ def test_01_ensure_topology(context_client, device_client): log and skip. Otherwise reload from scratch.""" LOGGER.info(' >>> test_01_ensure_topology START: <<< ') LOGGER.info('Skipping test Intentionally ... ') return # INFO: If topology exists, you can comment out the entire function body. # LOGGER.info('Skipping test Intentionally ... ') # return context_exists = get_context(context_client, _CONTEXT_UUID) is not None topology_exists = get_topology(context_client, _TOPOLOGY_UUID, context_uuid=_CONTEXT_UUID) is not None Loading Loading @@ -154,6 +155,7 @@ def test_04_zsm_create_with_failure_notification( assert response.serviceId.service_uuid.uuid == target_service.service_id.service_uuid.uuid LOGGER.info(' >>> test_04_zsm_create_with_failure_notification PASSED <<< ') finally: # DO NOT add in actual integration: It is only for cleanup in tests. try: policy_client = PolicyClient() policy_client.PolicyDelete(policy_rule_id) Loading Loading
src/tests/ecoc26_pluggables/tests/test_zsm_failure_notification.py +4 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,9 @@ def test_01_ensure_topology(context_client, device_client): log and skip. Otherwise reload from scratch.""" LOGGER.info(' >>> test_01_ensure_topology START: <<< ') LOGGER.info('Skipping test Intentionally ... ') return # INFO: If topology exists, you can comment out the entire function body. # LOGGER.info('Skipping test Intentionally ... ') # return context_exists = get_context(context_client, _CONTEXT_UUID) is not None topology_exists = get_topology(context_client, _TOPOLOGY_UUID, context_uuid=_CONTEXT_UUID) is not None Loading Loading @@ -154,6 +155,7 @@ def test_04_zsm_create_with_failure_notification( assert response.serviceId.service_uuid.uuid == target_service.service_id.service_uuid.uuid LOGGER.info(' >>> test_04_zsm_create_with_failure_notification PASSED <<< ') finally: # DO NOT add in actual integration: It is only for cleanup in tests. try: policy_client = PolicyClient() policy_client.PolicyDelete(policy_rule_id) Loading