зеркало из https://github.com/microsoft/lisa.git
only rhel8 contains base repo, and there is no update repo for rhel, so
remove it
This commit is contained in:
Родитель
2571681ec4
Коммит
10b98e80ca
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче