def test_004_check_overview_ap_online_offline(self): u"""获取监控面板-概览-AP在线和离线""" log.debug("004") tmp = OverViewBusiness(self.s) result, result1 = tmp.get_overview_ap_online_offline_count() self.assertEqual(result, 3) self.assertEqual(result1, 0)
def test_004_check_overview_ap_online_offline_count(self): u"""验证监控面板-概览-在线和离线AP数""" log.debug("004") tmp = OverViewBusiness(self.s) online_ap_count, offline_ap_count = tmp.get_overview_ap_online_offline_count( ) self.assertEqual(online_ap_count, 3) self.assertEqual(offline_ap_count, 0)