1% Regression tests for aoe module 2############ 3############ 4+ Basic tests 5 6= Build - Check Ethertype 7 8a = Ether(src="00:01:02:03:04:05") 9b = AOE() 10c = a / b 11assert c[Ether].type == 0x88a2 12 13= Build - Check default 14 15p = AOE() 16assert hasattr(p, "q_conf_info") 17 18= Build - Check Issue ATA command 19 20p = AOE() 21p.cmd = 0 22 23assert hasattr(p, "i_ata_cmd") 24 25= Build - Check Query Config Information 26 27p = AOE() 28p.cmd = 1 29 30assert hasattr(p, "q_conf_info") 31 32= Build - Check Mac Mask List 33 34p = AOE() 35p.cmd = 2 36 37assert hasattr(p, "mac_m_list") 38 39= Build - Check ReserveRelease 40 41p = AOE() 42p.cmd = 3 43 44assert hasattr(p, "res_rel") 45