1% Regression tests for the avs module 2 3+ Basic AVS test 4 5= Default build, storage and dissection 6 7pkt = AVSWLANHeader()/Dot11()/Dot11Auth() 8_filepath = get_temp_file(autoext=".pcap") 9wrpcap(_filepath, pkt) 10pkt1 = rdpcap(_filepath)[0] 11assert raw(pkt) == raw(pkt1) 12assert AVSWLANHeader in pkt 13assert Dot11 in pkt 14assert Dot11Auth in pkt 15 16try: 17 os.remove(_filepath) 18except Exception: 19 pass 20