def test_041_check_network_2h_overview_top_ssids(self): u"""验证group1 network中最近两小时监控面板-概览-Top SSIDs ssid与netwrok之间的对应关系""" log.debug("041") tmp = OverViewBusiness(self.s) tmp1 = NetworkListBusiness(self.s) tmp1.goin_network('group1') network1 = tmp.get_overview_top_ssids_network( "2h", data_wireless['grou1_all_ssid'], menu=9) network2 = tmp.get_overview_top_ssids_network( "2h", data_wireless['grou1_all_ssid'] + "-2", menu=9) self.assertEqual(network1, 'group1') self.assertEqual(network2, 'group1')
def test_040_check_2h_overview_top_ssids(self): u"""验证最近两小时监控面板-概览-Top SSIDs ssid与netwrok之间的对应关系""" log.debug("040") tmp = OverViewBusiness(self.s) network = tmp.get_overview_top_ssids_network("2h", data_wireless['all_ssid']) network1 = tmp.get_overview_top_ssids_network( "2h", data_wireless['grou1_all_ssid']) network2 = tmp.get_overview_top_ssids_network( "2h", data_wireless['grou1_all_ssid'] + "-2") self.assertEqual(network, 'default') self.assertEqual(network1, 'group1') self.assertEqual(network2, 'group1')