Skip to content

Commit

Permalink
ci: Edit tests to take new segment indexing into account
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Beran authored and radimkarnis committed Jan 19, 2024
1 parent b5939da commit 858ba56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_image_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 858ba56

Please sign in to comment.