1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

config: fix test

This commit is contained in:
Jan Pochyla 2016-11-23 15:05:53 +01:00
parent 6edaa68ab3
commit 33f833f40a

View File

@ -17,8 +17,8 @@ class TestConfig(unittest.TestCase):
config.wipe() config.wipe()
v0 = config.get(0, 0) v0 = config.get(0, 0)
v1 = config.get(1, 1) v1 = config.get(1, 1)
self.assertIsNone(v0) self.assertEqual(v0, bytes())
self.assertIsNone(v1) self.assertEqual(v1, bytes())
def test_set_get(self): def test_set_get(self):
config.wipe() config.wipe()