def test_037_check_network_2h_overview_top_ssids_usage(self): u"""验证最近两小时监控面板-概览-Top SSIDs的usage""" log.debug("037") tmp = OverViewBusiness(self.s) usage = tmp.get_overview_top_ssids_usage("2h") self.assertGreater(usage[0], usage[1]) self.assertGreater(usage[1], usage[2])
def test_039_check_network_2h_overview_top_ssids_usage(self): u"""验证group1最近两小时监控面板-概览-Top SSIDs的usage""" log.debug("039") tmp = OverViewBusiness(self.s) tmp1 = NetworkListBusiness(self.s) tmp1.goin_network('group1') usage = tmp.get_overview_top_ssids_usage("2h", menu=9) self.assertGreater(usage[0], usage[1])