Use "call_args_list" from unittest.mock instead of "called_with" for verifying the arguments supplied to the dfu-util west runner. This aligns the assert with the rest of the test case and fixes the dfu-util west runner test when running under Python 3.12. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com> |
||
|---|---|---|
| .. | ||
| nrf | ||
| conftest.py | ||
| test_blackmagicprobe.py | ||
| test_bossac.py | ||
| test_build.py | ||
| test_canopen_program.py | ||
| test_dediprog.py | ||
| test_dfu_util.py | ||
| test_gd32isp.py | ||
| test_imports.py | ||
| test_mdb.py | ||
| test_nrf.py | ||
| test_nxp_s32dbg.py | ||
| test_pyocd.py | ||
| test_stm32cubeprogrammer.py | ||
| test_stm32flash.py | ||
| test_twister.py | ||