mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
CI: fix test case test_base_mac_address
This commit is contained in:
parent
6ca7a3ab25
commit
677e2fb19a
@ -31,7 +31,7 @@ def test_base_mac_address(dut: Dut) -> None:
|
||||
# Format the new string to match the expected output from the app (includes stripping leading zeroes)
|
||||
return ', '.join('0x{}'.format(hex_string[i:i + 2].lstrip('0')) for i in range(0, len(hex_string), 2))
|
||||
|
||||
return ', '.join(['0x{}'.format(m.decode('utf8')) for m in mac_m[:-1]] + [hex(int(mac_m[-1], 16) + increment)])
|
||||
return ', '.join(['0x{}'.format(m.decode('utf8')) for m in mac_m[:-1]] + [hex((int(mac_m[-1], 16) + increment) & 0xFF)])
|
||||
|
||||
sdkconfig = dut.app.sdkconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user