Skip to content

Commit

Permalink
Repo discovery fix
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed Nov 16, 2023
1 parent be032ef commit 92f3546
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/foreman/api/test_http_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,16 @@ def test_positive_end_to_end(setup_http_proxy, module_target_sat, module_manifes
assert yum_repo['output'][0] == f'{settings.repos.repo_discovery.url}/{repo_name}/'

# test scenario for docker type repo discovery.
yum_repo = module_target_sat.api.Organization(id=module_manifest_org.id).repo_discover(
docker_repo = module_target_sat.api.Organization(id=module_manifest_org.id).repo_discover(
data={
"id": module_manifest_org.id,
"url": 'quay.io',
"content_type": "docker",
"search": 'quay/busybox',
"search": 'foreman/foreman',
}
)
assert len(yum_repo['output']) >= 1
assert 'quay/busybox' in yum_repo['output']
assert len(docker_repo['output']) > 0
assert docker_repo['result'] == 'success'


@pytest.mark.upgrade
Expand Down

0 comments on commit 92f3546

Please sign in to comment.