def METHOD_NAME(repo):
    """
    Given
        - An integration image with a valid name
    When
        - Validating the integration image name
    Then
        - Ensure that image validator for integration passes.
    """
    pack = repo.create_pack("PackName")
    integration = pack.create_integration("IntName")
    integration.create_default_integration()
    image_validator = image.ImageValidator(integration.yml.path)
    assert image_validator.is_valid_image_name()