From 661b2875a56b73dc2f3b205e35c72a14be930907 Mon Sep 17 00:00:00 2001 From: David Moore Date: Thu, 16 Nov 2023 13:00:52 -0500 Subject: [PATCH] Repo discovery fix --- tests/foreman/api/test_http_proxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/foreman/api/test_http_proxy.py b/tests/foreman/api/test_http_proxy.py index 56de51ba678..adf1f84abeb 100644 --- a/tests/foreman/api/test_http_proxy.py +++ b/tests/foreman/api/test_http_proxy.py @@ -123,11 +123,11 @@ def test_positive_end_to_end(setup_http_proxy, module_target_sat, module_manifes "id": module_manifest_org.id, "url": 'quay.io', "content_type": "docker", - "search": 'quay/busybox', + "search": 'foreman/foreman', } ) - assert len(yum_repo['output']) >= 1 - assert 'quay/busybox' in yum_repo['output'] + assert len(yum_repo['output']) > 0 + assert yum_repo['result'] == 'success' @pytest.mark.upgrade