commit | bf598848b13a9957bc8e037a4efc7b37b4b97ddd | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <hebad@vestas.com> | Wed Oct 25 12:39:42 2023 +0200 |
committer | Henrik Brix Andersen <henrik@brixandersen.dk> | Thu Oct 26 07:17:10 2023 +0200 |
tree | acf9705ae2b7eab865e6629929787e4c04419ed9 | |
parent | 4201978f3494f26b73849502370883b4d6c92d55 [diff] |
scripts: west: commands: tests: dfu_util: fix test under Python 3.12 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>