From f616209d4a55166a770617141918536c735f0a70 Mon Sep 17 00:00:00 2001 From: mtirum011 Date: Tue, 16 Dec 2025 13:40:24 +0000 Subject: [PATCH] RDK-59248 [RDKE][RFC] Achieve 100% L2 coverage-Phase2 --- run_l2.sh | 4 +--- test/functional-tests/tests/test_rfc_override_rfc_prop.py | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/run_l2.sh b/run_l2.sh index d3ff573..c59ddf1 100644 --- a/run_l2.sh +++ b/run_l2.sh @@ -36,13 +36,11 @@ pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_in pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_xconf_communication_success.json test/functional-tests/tests/test_rfc_xconf_communication.py -cat /opt/logs/rfcscript.txt.1 - -cat /opt/logs/rfcscript.txt.0 pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_setget_param.json test/functional-tests/tests/test_rfc_setget_param.py pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_tr181_setget_local_param.json test/functional-tests/tests/test_rfc_tr181_setget_local_param.py + # The cert selector test cases are commented for now. Once the code changes are moved to open source, it will be enabled. #pytest --json-report --json-report-summary --json-report-file $RESULT_DIR/rfc_dynamic_static_cert_selector.json test/functional-tests/tests/test_rfc_dynamic_static_cert_selector.py diff --git a/test/functional-tests/tests/test_rfc_override_rfc_prop.py b/test/functional-tests/tests/test_rfc_override_rfc_prop.py index a87bc88..b20b5a6 100644 --- a/test/functional-tests/tests/test_rfc_override_rfc_prop.py +++ b/test/functional-tests/tests/test_rfc_override_rfc_prop.py @@ -82,11 +82,13 @@ def test_rfc_override_rfc_prop(): XCONF_URL_MSG = f"_xconf_server_url: [https://mockxconf_opt_rfc_properties/featureControl/getSettings]" XCONF_REQ_MSG = f" Xconf Request : [https://mockxconf_opt_rfc_properties/featureControl/getSettings" OVERRIDE_MSG= f"Setting URL from local override to https://mockxconf_opt_rfc_properties/featureControl/getSettings" + RFC_STATE_MSG = f"Updating State 2" assert grep_log_file(RFC_LOG_FILE, RFC_FILE_PATH_MSG), f"Expected '{RFC_FILE_PATH_MSG}' in log file." assert grep_log_file(RFC_LOG_FILE, XCONF_URL_MSG), f"Expected '{XCONF_URL_MSG}' in log file." assert grep_log_file(RFC_LOG_FILE, XCONF_REQ_MSG), f"Expected '{XCONF_REQ_MSG}' in log file." assert grep_log_file(RFC_LOG_FILE, OVERRIDE_MSG), f"Expected '{OVERRIDE_MSG}' in log file." + assert grep_log_file(RFC_LOG_FILE, RFC_STATE_MSG), f"Expected '{RFC_STATE_MSG}' in log file." except Exception as e: print(f"Exception during Validate the Override function for rfc.properties file: {e}") assert False, f"Exception during Validate the Override function for rfc.properties file: {e}"