From c24d8915889a1c313f6c1567d5b3b2fd756285da Mon Sep 17 00:00:00 2001 From: vijaysawant Date: Tue, 10 Oct 2023 20:45:41 +0530 Subject: [PATCH] Initial commit to test updated sat util url --- tests/foreman/ui/test_contenthost.py | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/tests/foreman/ui/test_contenthost.py b/tests/foreman/ui/test_contenthost.py index 1db98df1d70..5481461120e 100644 --- a/tests/foreman/ui/test_contenthost.py +++ b/tests/foreman/ui/test_contenthost.py @@ -47,6 +47,8 @@ if not setting_is_set('clients') or not setting_is_set('fake_manifest'): pytest.skip('skipping tests due to missing settings', allow_module_level=True) +pytestmark = [pytest.mark.no_containers] + @pytest.fixture(scope='module', autouse=True) def host_ui_default(): @@ -83,7 +85,7 @@ def vm(module_repos_collection_with_manifest, rhel7_contenthost, target_sat): def vm_module_streams(module_repos_collection_with_manifest, rhel8_contenthost, target_sat): """Virtual machine registered in satellite without katello-agent installed""" module_repos_collection_with_manifest.setup_virtual_machine( - rhel8_contenthost, install_katello_agent=False + rhel8_contenthost, install_katello_agent=False, enable_custom_repos=True ) rhel8_contenthost.add_rex_key(satellite=target_sat) yield rhel8_contenthost @@ -962,7 +964,7 @@ def test_positive_virt_who_hypervisor_subscription_status( 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1086,7 +1088,7 @@ def test_module_stream_actions_on_content_host(session, default_location, vm_mod 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1153,7 +1155,7 @@ def test_module_streams_customize_action(session, default_location, vm_module_st 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1232,7 +1234,7 @@ def test_install_modular_errata(session, default_location, vm_module_streams): 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1299,7 +1301,7 @@ def test_module_status_update_from_content_host_to_satellite( 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1385,7 +1387,7 @@ def test_module_status_update_without_force_upload_package_profile( 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1462,7 +1464,7 @@ def test_module_stream_update_from_satellite(session, default_location, vm_modul 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1505,7 +1507,7 @@ def test_syspurpose_attributes_empty(session, default_location, vm_module_stream 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1551,7 +1553,7 @@ def test_set_syspurpose_attributes_cli(session, default_location, vm_module_stre 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1601,7 +1603,7 @@ def test_unset_syspurpose_attributes_cli(session, default_location, vm_module_st 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], } @@ -1690,7 +1692,7 @@ def test_syspurpose_bulk_action(session, default_location, vm): 'YumRepository': [ {'url': settings.repos.rhel8_os.baseos}, {'url': settings.repos.rhel8_os.appstream}, - {'url': settings.repos.satutils_repo}, + {'url': settings.repos.new_satutils_repo}, {'url': settings.repos.module_stream_1.url}, ], }