def test_036_check_2h_overview_top_ssids(self): u"""验证最近两小时监控面板-概览-Top SSIDs""" log.debug("036") tmp = OverViewBusiness(self.s) name = tmp.get_overview_top_ssids_name("2h") self.assertIn(data_wireless['all_ssid'], name) self.assertIn(data_wireless['grou1_all_ssid'], name)
def test_035_check_1d_overview_top_ssids(self): u"""验证最近一天监控面板-概览-Top SSIDs,第一个SSID的name""" log.debug("035") tmp = OverViewBusiness(self.s) name = tmp.get_overview_top_ssids_name("1d") self.assertIn(data_wireless['all_ssid'], name) self.assertIn(data_wireless['grou1_all_ssid'], name)