diff --git a/microsoft/testsuites/core/azure_image_standard.py b/microsoft/testsuites/core/azure_image_standard.py index 3f995d7d4..36db9fe8e 100644 --- a/microsoft/testsuites/core/azure_image_standard.py +++ b/microsoft/testsuites/core/azure_image_standard.py @@ -667,15 +667,15 @@ class AzureImageStandard(TestSuite): cast(RPMRepositoryInfo, repo) for repo in repositories ] - # verify that `base` repository is present - is_base_repository_present = any( - ["base" in repository.id for repository in fedora_repositories] - ) - assert_that( - is_base_repository_present, "Base repository should be present" - ).is_true() - if node.os.information.version >= "8.0.0": + # verify that `base` repository is present + is_base_repository_present = any( + ["base" in repository.id for repository in fedora_repositories] + ) + assert_that( + is_base_repository_present, "Base repository should be present" + ).is_true() + # verify that `appstream` repository is present is_appstream_repository_present = any( ["appstream" in repository.id for repository in fedora_repositories] @@ -684,15 +684,6 @@ class AzureImageStandard(TestSuite): is_appstream_repository_present, "AppStream repository should be present", ).is_true() - else: - # verify that `update` repository is not present - is_updates_repository_present = any( - ["updates" in repository.id for repository in fedora_repositories] - ) - assert_that( - is_updates_repository_present, - "Updates repository should be present", - ).is_true() # verify that at least five repositories are present in Redhat if type(node.os) == Redhat: