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

serial_number -> device_id

This commit is contained in:
slush0 2013-10-08 20:34:21 +02:00
parent 7f541b43ad
commit 851fa37a0a

View File

@ -26,9 +26,9 @@ class TestBasic(common.TrezorTest):
self.assertEqual(ping, proto.Success(message='ahoj!'))
def test_uuid(self):
uuid1 = self.client.get_serial_number()
uuid1 = self.client.get_device_id()
self.client.init_device()
uuid2 = self.client.get_serial_number()
uuid2 = self.client.get_device_id()
# UUID must be longer than 10 characters
self.assertEqual(len(uuid1), 12)