def _verify_tag_presence(self, tags, key, value):
    '\n        Verifies the presence of a tag and its value\n\n        Parameters\n        ----------\n        tags : List of dict\n            List of tag objects\n        key : string\n            Tag key\n        value : string\n            Tag value\n        '
    tag = next((tag for tag in tags if (tag['key'] == key)))
    self.assertIsNotNone(tag)
    self.assertEqual(tag['value'], value)
Verifies the presence of a tag and its value

Parameters
----------
tags : List of dict
    List of tag objects
key : string
    Tag key
value : string
    Tag value
def _verify_tag_presence(self, tags, key, value):
    '\n        Verifies the presence of a tag and its value\n\n        Parameters\n        ----------\n        tags : List of dict\n            List of tag objects\n        key : string\n            Tag key\n        value : string\n            Tag value\n        '
    tag = next((tag for tag in tags if (tag['key'] == key)))
    self.assertIsNotNone(tag)
    self.assertEqual(tag['value'], value)