Skip to content

Commit

Permalink
Initial commit to test updated sat util url
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysawant committed Oct 13, 2023
1 parent b1150c8 commit c21ed58
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions tests/foreman/ui/test_contenthost.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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},
],
}
Expand Down Expand Up @@ -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},
],
}
Expand Down Expand Up @@ -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},
],
}
Expand Down Expand Up @@ -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},
],
}
Expand Down Expand Up @@ -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},
],
}
Expand Down Expand Up @@ -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},
],
}
Expand Down Expand Up @@ -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},
],
}
Expand Down Expand Up @@ -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},
],
}
Expand Down Expand Up @@ -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},
],
}
Expand Down

0 comments on commit c21ed58

Please sign in to comment.