def test_037_channel13(self):
     """验证AP的信道为13时"""
     tmp = WirelessSettingsBusiness(self.driver)
     #切换2.4G无线信道,判断,无线网卡连接取出该AP的频率值
     result = tmp.check_wifi_channel(13, data_wireless['all_ssid'],
                                     data_wireless['short_wpa'],
                                     data_basic['wlan_pc'])
     self.assertEqual(result, 2472)
     log.debug("037\t\tpass")
 def test_025_channel1(self):
     """验证AP的信道为1时"""
     tmp = WirelessSettingsBusiness(self.driver)
     #首先修改加密方式为wpa2-psk
     tmp.change_wifi_encryption_pwd("psk2", data_wireless['short_wpa'])
     #切换2.4G无线信道,判断,无线网卡连接取出该AP的频率值
     result = tmp.check_wifi_channel(1, data_wireless['all_ssid'],
                                     data_wireless['short_wpa'],
                                     data_basic['wlan_pc'])
     self.assertEqual(result, 2412)
     log.debug("025\t\tpass")