def test_ip_riskrule(self): client = ConnectApiClient() resp = client.get_ip_riskrules() self.assertIsInstance(resp, list) self.assertEquals( set(resp[0].keys()), set([ 'name', 'description', 'count', 'criticality', 'criticalityLabel' ]))
def test_ip_riskrule(self): client = ConnectApiClient() resp = client.get_ip_riskrules() self.check_list(resp)