We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fd8c05 commit ac49632Copy full SHA for ac49632
1 file changed
tests/scenarios/daplink_flash.yaml
@@ -148,15 +148,15 @@ tests:
148
expect_true: true
149
mode: [mock]
150
151
- - name: "Write config sends clear then write"
+ - name: "Write config sends write without prior clear"
152
action: script
153
script: |
154
i2c.clear_write_log()
155
dev.write_config(b"hi")
156
log = i2c.get_write_log()
157
sent_clear = any(reg is None and 0x32 in data for reg, data in log)
158
sent_write = any(reg is None and data[0] == 0x30 for reg, data in log)
159
- result = sent_clear and sent_write
+ result = sent_write and not sent_clear
160
161
162
0 commit comments