define config in test_emu_init_close

This commit is contained in:
Stefan Allius
2025-05-05 23:50:20 +02:00
parent ab2d4ed831
commit cfe13a01d1

View File

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