def test_011_check_ssid_filter2(self): u"""ssid的客户端信息过滤--选择ssid1有客户端(testlink_ID:497_2)--bug""" log.debug("011") tmp = ClientsBusiness(self.driver) NG2_ssid = "%s-2" % data_ng["NG2_ssid"] result = tmp.check_ssid_filter(NG2_ssid, data_basic['wlan_pc']) assert result, "Check client through ssid filter2,test fail!" print "Check client through ssid filter2,test pass!"
def test_010_check_ssid_filter1(self): u"""ssid的客户端信息过滤1--选择ssid0没有客户端(testlink_ID:497_1)--bug""" log.debug("010") tmp = ClientsBusiness(self.driver) result = tmp.check_ssid_filter(data_wireless['all_ssid'], data_basic['wlan_pc']) assert result == False, "Check client through ssid filter1,test fail!" print "Check client through ssid filter1,test pass!"