Quellcode durchsuchen

examples/security: update test script to handle custom NVS partition init

Mahavir Jain vor 3 Jahren
Ursprung
Commit
3a104b011d
1 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 3 1
      examples/security/flash_encryption/pytest_flash_encryption.py

+ 3 - 1
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)