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:
parent
bc07b044b0
commit
eea4f8be5d
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user