Skip to content

Commit

Permalink
Merge branch 'master' into no-blank-cvpage
Browse files Browse the repository at this point in the history
  • Loading branch information
sambible authored Oct 3, 2023
2 parents 19bf6fe + 53f4388 commit 714dfd5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions tests/foreman/cli/test_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,41 @@ def test_positive_synchronize_docker_repo(self, repo, module_product, module_org
]
)

@pytest.mark.tier2
@pytest.mark.upgrade
@pytest.mark.parametrize(
'repo_options',
**parametrized(
[
{
'content-type': 'docker',
'docker-upstream-name': CONTAINER_UPSTREAM_NAME,
'name': valid_docker_repository_names()[0],
'url': CONTAINER_REGISTRY_HUB,
}
]
),
indirect=True,
)
def test_verify_checksum_container_repo(self, repo):
"""Check if Verify Content Checksum can be run on non container repos
:id: c8f0eb45-3cb6-41b2-aad9-52ac847d7bf8
:parametrized: yes
:expectedresults: Docker repository is created, and can be synced with
validate-contents set to True
:BZ: 2161209
:customerscenario: true
"""
assert repo['sync']['status'] == 'Not Synced'
Repository.synchronize({'id': repo['id'], 'validate-contents': 'true'})
new_repo = Repository.info({'id': repo['id']})
assert new_repo['sync']['status'] == 'Success'

@pytest.mark.tier2
@pytest.mark.upgrade
@pytest.mark.parametrize(
Expand Down

0 comments on commit 714dfd5

Please sign in to comment.