1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 08:38:07 +00:00

slip39: Remove test_invalid_rs1024_checksum(), because it's already included in test vectors.

This commit is contained in:
Andrew Kozlik 2019-04-14 21:29:10 +02:00
parent f06416eeff
commit eedc6057ac

View File

@ -68,13 +68,5 @@ class TestCryptoSlip39(unittest.TestCase):
slip39.combine_mnemonics(mnemonics, b"TREZOR")
def test_invalid_rs1024_checksum(self):
mnemonics = [
"artist away academic academic dismiss spill unkind pencil lair sugar usher elegant paces sweater firm gravity deal body chest sugar"
]
with self.assertRaises(slip39.MnemonicError):
slip39.combine_mnemonics(mnemonics)
if __name__ == '__main__':
unittest.main()