define config in test_emu_init_close
This commit is contained in:
@@ -125,10 +125,8 @@ def heartbeat_ind():
|
|||||||
msg = b'\xa5\x01\x00\x10G\x00\x01\x00\x00\x00\x00\x00Y\x15'
|
msg = b'\xa5\x01\x00\x10G\x00\x01\x00\x00\x00\x00\x00Y\x15'
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
def test_emu_init_close():
|
def test_emu_init_close(config_tsun_inv1):
|
||||||
# received a message with wrong start byte plus an valid message
|
_ = config_tsun_inv1
|
||||||
# the complete receive buffer must be cleared to
|
|
||||||
# find the next valid message
|
|
||||||
inv = InvStream()
|
inv = InvStream()
|
||||||
cld = CldStream(inv)
|
cld = CldStream(inv)
|
||||||
cld.close()
|
cld.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user