flist.append(Testframe(websockets.framing.Frame(1,1,bytearray("Frame2 does contain much more text and even goes beyond the 126 byte len field. Frame2 does contain much more text and even goes beyond the 126 byte len field.",encoding="utf-8")),
flist.append(Testframe(websockets.framing.Frame(1,2,bytearray("Frame2 does contain much more text and even goes beyond the 126 byte len field. Frame2 does contain much more text and even goes beyond the 126 byte len field.",encoding="utf-8")),
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="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="EPROTO",modify_bytes={1:0xFF,2:0x00,3:0x00,4:0x00,5:0x00,6:0x00,7:0x00,8:0x80,9:0x40}))
frag1=websockets.framing.Frame(0,1,bytearray("This is a fragmented websocket...",encoding="utf-8"))
frag2=websockets.framing.Frame(0,0,bytearray("... and it goes on...",encoding="utf-8"))
frag3=websockets.framing.Frame(1,0,bytearray("and on and stop",encoding="utf-8"))
flist.append(Testframe(frag1,"Continuation test frag1"))
flist.append(Testframe(frag2,"Continuation test frag2",opcode_overwrite=1))
flist.append(Testframe(frag3,"Continuation test frag3",opcode_overwrite=1))