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

tests: disable trezor.msg test for now

This commit is contained in:
Pavol Rusnak 2017-04-21 18:23:39 +02:00
parent d207e8c242
commit a1d04f8b7b
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -6,14 +6,8 @@ from trezor import msg
class TestMsg(unittest.TestCase):
def test_set_get_interfaces(self):
ifaces = msg.get_interfaces()
self.assertEqual(ifaces, ())
for n in range(1, 9):
ifaces = tuple((random.uniform(0x10000) for _ in range(n)))
msg.set_interfaces(ifaces)
ifaces2 = msg.get_interfaces()
self.assertEqual(ifaces, ifaces2)
def test_usb(self):
pass
if __name__ == '__main__':
unittest.main()