1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-22 21:30:56 +00:00

fix ApplySettings test

This commit is contained in:
Pavol Rusnak 2014-12-13 19:28:33 +01:00
parent bc07b044b0
commit eea4f8be5d

View File

@ -15,7 +15,7 @@ class TestMsgApplysettings(common.TrezorTest):
proto.PinMatrixRequest(),
proto.Success(),
proto.Features()])
self.client.apply_settings('new label', 'english')
self.client.apply_settings(label='new label')
self.assertEqual(self.client.features.label, 'new label')
@ -28,7 +28,7 @@ class TestMsgApplysettings(common.TrezorTest):
proto.PinMatrixRequest(),
proto.Success(),
proto.Features()])
self.client.apply_settings('new label', 'nonexistent')
self.client.apply_settings(language='nonexistent')
self.assertEqual(self.client.features.language, 'english')