From 858ba562f985c7087f09d151d51c09e13a8b0166 Mon Sep 17 00:00:00 2001 From: Jan Beran Date: Tue, 16 Jan 2024 09:59:23 +0100 Subject: [PATCH] ci: Edit tests to take new segment indexing into account --- test/test_image_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_image_info.py b/test/test_image_info.py index 3dac7310a..f84c62473 100755 --- a/test/test_image_info.py +++ b/test/test_image_info.py @@ -101,7 +101,7 @@ def test_v2_esp32c3(self): # Segments assert ( - "2 0x01864 0x3fcd6114 0x00000034 DRAM, BYTE_ACCESSIBLE" in out + "1 0x01864 0x3fcd6114 0x00000034 DRAM, BYTE_ACCESSIBLE" in out ), "Wrong segment info" # Footer @@ -126,7 +126,7 @@ def test_v2_esp8266(self): assert "Flash mode: QIO" in out, "Wrong flash mode" assert "Checksum: 0x6b (valid)" in out, "Invalid checksum" assert "Segments: 1" in out, "Wrong number of segments" - assert "1 0x00014 0x40100000 0x00000008 IRAM" in out, "Wrong segment info" + assert "0 0x00014 0x40100000 0x00000008 IRAM" in out, "Wrong segment info" def test_image_type_detection(self): # ESP8266, version 1 and 2