flist.append(Testframe(websockets.framing.Frame(1,8,bytearray(list([0x03,0xEB]))+bytearray("I'm a close reason and much more than that!",encoding="utf-8")),"Close frame (Reason 1003) and msg",experrno=errno.ECONNRESET))
flist.append(Testframe(websockets.framing.Frame(1,8,bytearray(list([0x03,0xEB]))+bytearray("I'm a close reason and much more than that!",encoding="utf-8")),"Close frame (Reason 1003) and msg",experrno="ECONNRESET"))
flist.append(Testframe(websockets.framing.Frame(1,1,bytearray("..Lore Ipsum",encoding="utf-8")),"Invalid frame: Length of < 126 with add. 16 bit len field",experrno=errno.EPROTO,modify_bytes={1:0xFE,2:0x00,3:0x0F}))
flist.append(Testframe(websockets.framing.Frame(1,1,bytearray("..Lore Ipsum",encoding="utf-8")),"Invalid frame: Length of < 126 with add. 16 bit len field",experrno="EPROTO",modify_bytes={1:0xFE,2:0x00,3:0x0F}))
flist.append(Testframe(websockets.framing.Frame(1,1,bytearray("........Lore Ipsum",encoding="utf-8")),"Invalid frame: Length of < 126 with add. 64 bit len field",experrno=errno.EPROTO,modify_bytes={1:0xFF,2:0x00,3:0x00,4:0x00,5:0x00,6:0x80,7:0x40}))
flist.append(Testframe(websockets.framing.Frame(1,1,bytearray("........Lore Ipsum",encoding="utf-8")),"Invalid frame: Length of < 126 with add. 64 bit len field",experrno="EPROTO",modify_bytes={1:0xFF,2:0x00,3:0x00,4:0x00,5:0x00,6:0x80,7:0x40}))