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

pull/25/head
Andrew Kozlik 5 years ago committed by Pavol Rusnak
parent 52c7f0eb93
commit 6afd9b1d09
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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()

Loading…
Cancel
Save