def METHOD_NAME(self):
    factory = self.replay_flight_data("test_alarm_add_tags")
    p = self.load_policy(
        {
            "name": "add-alarm-tags",
            "resource": "alarm",
            "actions": [{
                "type": "tag",
                "key": "OwnerName",
                "value": "SomeName"
            }],
        },
        session_factory=factory,
    )
    resources = p.run()
    self.assertEqual(len(resources), 1)
    self.assertTrue({'Key': 'OwnerName', 'Value': 'SomeName'} in resources[0].get('Tags'))