'Fetch a resource group.
:param resource_group: name of a resource group
:return: resource group object'

def get_resource_group(self, resource_group):

    try:
        return self.rm_client.resource_groups.get(resource_group)
    except CloudError:
        self.fail('Parameter    error:    resource    group    {0}    not    found'.format(resource_group))
    except Exception as exc:
        self.fail('Error    retrieving    resource    group    {0}    -    {1}'.format(resource_group, str(exc)))
