def test_024_check_master_AP(self): u"""Master AP可以显示在Top AP列表中(testlink_ID:1181)---有概率性bug""" log.debug("024") tmp = OVBusiness(self.driver) result = tmp.get_top() assert (data_ap['master:mac'].upper() in result),"master ap in TOP AP,test fail!" print "master ap in TOP AP,test pass!"
def test_023_check_slave_AP(self): u"""Slave AP可以显示在Top AP列表中(testlink_ID:1180)---有概率性bug""" log.debug("023") tmp = OVBusiness(self.driver) result = tmp.get_top() assert (data_ap['slave:mac2'].upper() in result),"slave ap in TOP AP,test fail!" print "slave ap in TOP AP,test pass!"
def test_025_check_AP_type(self): u"""AP 类型可以正确显示(testlink_ID:1191)---有概率性bug""" log.debug("025") tmp = OVBusiness(self.driver) #登录web页面获取DUT的hostname DUT_hostname = tmp.get_DUT_hostname() result = tmp.get_top() assert (DUT_hostname in result),"AP type in TOP AP,test fail!" print "AP type in TOP AP,test pass!"