def test_024_check_2h_overview_top_ap_mac(self): u"""验证最近两小时监控面板-概览-top ap的mac""" log.debug("024") tmp = OverViewBusiness(self.s) ap_mac = tmp.get_overview_top_aps_mac("2h") mac1 = data_ap['7600_mac'].upper() mac2 = data_ap['7610_mac'].upper() self.assertIn(mac1, ap_mac) self.assertIn(mac2, ap_mac)
def test_026_check_network_2h_overview_top_ap_mac(self): u"""验证最近两小时监控面板-概览-top ap的mac""" log.debug("026") tmp = OverViewBusiness(self.s) #选择进入group1网络组 tmp1 = NetworkListBusiness(self.s) tmp1.goin_network("group1") ap_mac = tmp.get_overview_top_aps_mac("2h", menu=9) mac1 = data_ap['7600_mac'].upper() self.assertIn(mac1, ap_mac)