Skip to content

Commit

Permalink
Release module-streams and container-list assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik committed Jan 11, 2024
1 parent 39be0d7 commit e6a62b5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/foreman/ui/test_capsulecontent.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ def test_positive_content_counts_for_mixed_cv(
assert (
f'{s_repo.content_counts["package_group"]} Package groups' in c_repo
), 'Package groups count does not match'
# assert (
# f'{s_repo.content_counts["module_stream"]} Module streams' in c_repo
# ), 'Module streams count does not match'
assert (
f'{s_repo.content_counts["module_stream"]} Module streams' in c_repo
), 'Module streams count does not match'
elif s_repo.content_type == 'file':
assert (
f'{s_repo.content_counts["file"]} Files' in c_repo
Expand All @@ -194,10 +194,10 @@ def test_positive_content_counts_for_mixed_cv(
assert (
f'{s_repo.content_counts["docker_manifest"]} Container manifests' in c_repo
), 'Container manifests count does not match'
# assert (
# f'{s_repo.content_counts["docker_manifest_list"]} Container manifest lists'
# in c_repo
# ), 'Container manifest lists count does not match'
assert (
f'{s_repo.content_counts["docker_manifest_list"]} Container manifest lists'
in c_repo
), 'Container manifest lists count does not match'
elif s_repo.content_type == 'ansible_collection':
assert (
f'{s_repo.content_counts["ansible_collection"]} Ansible collections'
Expand Down

0 comments on commit e6a62b5

Please sign in to comment.