From 3a104b011d3d8737f06ecbc2de431bae8ef731c0 Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Thu, 2 Jun 2022 18:14:21 +0530 Subject: [PATCH] examples/security: update test script to handle custom NVS partition init --- examples/security/flash_encryption/pytest_flash_encryption.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/security/flash_encryption/pytest_flash_encryption.py b/examples/security/flash_encryption/pytest_flash_encryption.py index b8e9de2f08..dd5fd1c782 100644 --- a/examples/security/flash_encryption/pytest_flash_encryption.py +++ b/examples/security/flash_encryption/pytest_flash_encryption.py @@ -60,7 +60,9 @@ def test_examples_security_flash_encryption(dut: Dut) -> None: 'with spi_flash_read', expected_str, # The status of NVS encryption for the "nvs" partition - 'NVS partition "nvs" is encrypted.' + 'NVS partition "nvs" is encrypted.', + # The status of NVS encryption for the "custom_nvs" partition + 'NVS partition "custom_nvs" is encrypted.' ] for line in lines: dut.expect(line, timeout=2)