From 6dbb8c8d1a090d339244016470a29fbd6c82f5ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ioan=20Biz=C4=83u?= Date: Fri, 26 Apr 2024 14:25:29 +0200 Subject: [PATCH] fixup! fixup! feat(core): add ability to request backups with any number of groups/shares. --- tests/device_tests/test_msg_backup_device.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/device_tests/test_msg_backup_device.py b/tests/device_tests/test_msg_backup_device.py index 463f32cde..1cce57d96 100644 --- a/tests/device_tests/test_msg_backup_device.py +++ b/tests/device_tests/test_msg_backup_device.py @@ -138,7 +138,10 @@ def test_backup_slip39_custom(client: Client, share_threshold, share_count): assert client.features.no_backup is False assert len(IF.mnemonics) == share_count - assert shamir.combine_mnemonics(IF.mnemonics[-share_threshold:]).hex() == MNEMONIC_SLIP39_CUSTOM_SECRET + assert ( + shamir.combine_mnemonics(IF.mnemonics[-share_threshold:]).hex() + == MNEMONIC_SLIP39_CUSTOM_SECRET + ) # we only test this with bip39 because the code path is always the same