Skip to content

Commit cef24a7

Browse files
committed
tests: Fixed incorrect UFIE key used with wm260
1 parent 983d6ae commit cef24a7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_bin_partimg_extract1.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ def test_bin_bootimg_imah_v1_extract(capsys, modl_inp_dir, test_nth):
212212
('out/wm245-mavic_2_enterpr',1,),
213213
('out/wm246-mavic_2_enterpr_dual',1,),
214214
('out/wm247-mavic_2_enterpr_rtk',1,),
215+
('out/wm260-mavic_pro_3',1,),
216+
('out/wm2605-mavic_3_classic',1,),
215217
] )
216218
def test_bin_bootimg_imah_v2_extract(capsys, modl_inp_dir, test_nth):
217219
""" Test if boot images are extracting correctly, and prepare data for tests which use the extracted files.

tests/test_dji_imah_fwsig_rebin1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def get_params_for_dji_imah_fwsig(modl_inp_fn):
541541
module_changes_limit = 2 + 4 + 4 + 256 + 9*16 + 32 + 6*16
542542
# specific first level modules with unsupported signature_size=384
543543
elif (re.match(r'^.*/(wm260|wm2605)_0802_v[0-9a-z_.-]*[.]pro[.]fw[.]sig$', modl_inp_fn, re.IGNORECASE)):
544-
module_cmdopts = "-k PRAK-2020-01 -k UFIE-2020-04 -f"
544+
module_cmdopts = "-k PRAK-2020-01 -k UFIE-2021-08 -f"
545545
module_changes_limit = 999999 # we can not re-create signature
546546
# specific first level modules with encrypted data checksum verification issues
547547
elif (re.match(r'^.*V00[.]20[.]0101_wm260_dji_system/wm260([._].*)?[.]cfg[.]sig$', modl_inp_fn, re.IGNORECASE) or

0 commit comments

Comments
 (0)