1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-03 11:20:59 +00:00

tests: Do not require storage to be unlocked prior to calling storage_change_pin(). The function checks the old PIN anyway.

This commit is contained in:
Andrew Kozlik 2019-02-11 15:52:26 +01:00 committed by Pavol Rusnak
parent 52c7f0eb93
commit 6afd9b1d09
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -54,7 +54,6 @@ class TestConfig(unittest.TestCase):
config.set(appid, key, bytes())
config.init()
config.wipe()
self.assertEqual(config.change_pin(pin_to_int(''), pin_to_int('000')), False)
def test_public(self):
config.init()