From b7d8d0e0625fd0c20e3bc25c6ec204b8cc0a393f Mon Sep 17 00:00:00 2001 From: vsedmik <46570670+vsedmik@users.noreply.github.com> Date: Thu, 11 Jul 2024 13:04:08 +0200 Subject: [PATCH] Use unique repos for artifacts repair tests (#15617) --- tests/foreman/cli/test_artifacts.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tests/foreman/cli/test_artifacts.py b/tests/foreman/cli/test_artifacts.py index 13ddcff13b..203e591d5d 100644 --- a/tests/foreman/cli/test_artifacts.py +++ b/tests/foreman/cli/test_artifacts.py @@ -19,10 +19,6 @@ import pytest from robottelo.config import settings -from robottelo.constants import ( - CONTAINER_REGISTRY_HUB, - CONTAINER_UPSTREAM_NAME, -) from robottelo.constants.repos import ANSIBLE_GALAXY, CUSTOM_FILE_REPO from robottelo.content_info import get_repo_files_urls_by_url @@ -57,17 +53,18 @@ def module_synced_content( [ {'content_type': 'yum', 'url': settings.repos.yum_0.url}, {'content_type': 'file', 'url': CUSTOM_FILE_REPO}, + # The following repos should be unique through robottelo to avoid 'No NEW artifacts found' { 'content_type': 'docker', - 'docker_upstream_name': CONTAINER_UPSTREAM_NAME, - 'url': CONTAINER_REGISTRY_HUB, + 'docker_upstream_name': 'libpod/busybox', + 'url': 'https://quay.io', }, { 'content_type': 'ansible_collection', 'url': ANSIBLE_GALAXY, 'ansible_collection_requirements': '{collections: [ \ - { name: theforeman.foreman, version: "2.1.0" }, \ - { name: theforeman.operations, version: "0.1.0"} ]}', + { name: icinga.icinga, version: "0.3.3" }, \ + { name: icinga.icinga, version: "0.3.2"} ]}', }, ], indirect=True,