def test_putmetrics_permissions(self): from c7n.actions import PutMetric self.assertTrue("cloudwatch:PutMetricData" in PutMetric.permissions) pma = PutMetric() self.assertTrue("cloudwatch:PutMetricData" in pma.get_permissions())
def test_putmetrics_permissions(self): from c7n.actions import PutMetric self.assertTrue( "cloudwatch:PutMetricData" in PutMetric.permissions) pma = PutMetric() self.assertTrue( "cloudwatch:PutMetricData" in pma.get_permissions())