def METHOD_NAME(self):
    """
    confirms that resource slugs provided are for the expected version by checking for its name to end with
    v[version number] like v15 for version 15.
    """
    for resource_slug in self.resource_slugs:
        if not resource_slug.endswith("v%s" % self.version):
            raise Exception("Resource name '{}' is expected to contain version".format(
                resource_slug
            ))