tests/pyb: Update CAN test to expect that auto_restart is printed.

This commit is contained in:
Damien George 2018-03-16 18:37:55 +11:00
parent b7d576d69a
commit 9600a1f207
1 changed files with 2 additions and 2 deletions

View File

@ -7,14 +7,14 @@ CAN YA
CAN YB
ValueError YC
CAN(1)
CAN(1, CAN.LOOPBACK, extframe=False)
CAN(1, CAN.LOOPBACK, extframe=False, auto_restart=False)
False
True
(123, False, 0, b'abcd')
(2047, False, 0, b'abcd')
(0, False, 0, b'abcd')
passed
CAN(1, CAN.LOOPBACK, extframe=True)
CAN(1, CAN.LOOPBACK, extframe=True, auto_restart=False)
passed
('0x8', '0x1c', '0xa', b'ok')
('0x800', '0x1c00', '0xa00', b'ok')