From e6a62b5f76bd621f0317dfa0375b58f9004cec79 Mon Sep 17 00:00:00 2001 From: Vladimir Sedmik Date: Wed, 10 Jan 2024 16:30:05 +0100 Subject: [PATCH] Release module-streams and container-list assertions --- tests/foreman/ui/test_capsulecontent.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/foreman/ui/test_capsulecontent.py b/tests/foreman/ui/test_capsulecontent.py index 55000ae73a1..f2e8db514e3 100644 --- a/tests/foreman/ui/test_capsulecontent.py +++ b/tests/foreman/ui/test_capsulecontent.py @@ -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 @@ -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'