def test_017_check_network_1d_overview_last_clientcount(self): u"""验证default network最近1天监控面板-概览-客户端数量,返回最后一条客户端在线数量""" log.debug("017") tmp = OverViewBusiness(self.s) #选择进入group1网络组 tmp1 = NetworkListBusiness(self.s) tmp1.goin_network("group1") clientcount = tmp.get_overview_last_clientcount("1d", menu=9) self.assertEqual(clientcount, 1)
def test_018_check_2h_overview_last_clientcount(self): u"""验证最近2小时监控面板-概览-客户端数量,返回最后一条客户端在线数量""" log.debug("018") tmp = OverViewBusiness(self.s) clientcount = tmp.get_overview_last_clientcount("2h") self.assertEqual(clientcount, 1)
def test_007_check_1d_overview_last_clientcount(self): u"""验证最近1天监控面板-概览-客户端数量,返回最后一条客户端在线数量""" log.debug("007") tmp = OverViewBusiness(self.s) clientcount = tmp.get_overview_last_clientcount("1d") self.assertEqual(clientcount, 1)