Exemplo n.º 1
0
 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())
Exemplo n.º 2
0
 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())