Skip to content

Commit

Permalink
fix community download count sync test
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
jerabekjiri committed Oct 16, 2023
1 parent 1c28a37 commit 39e28e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions galaxy_ng/tests/integration/cli/test_community_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_community_collection_download_count_sync(ansible_config):

# pick an upstream collection at random that does not exist locally ...
sync_collection = None
base_url = 'https://galaxy.ansible.com'
base_url = 'https://old-galaxy.ansible.com'
next_url = base_url + '/api/v2/collections/'
while next_url:
rr = requests.get(next_url)
Expand Down Expand Up @@ -58,7 +58,7 @@ def test_community_collection_download_count_sync(ansible_config):
remotes = dict((x['name'], x) for x in resp['results'])
community_remote_config = {
'name': 'community',
'url': 'https://galaxy.ansible.com/',
'url': 'https://old-galaxy.ansible.com/',
'sync_dependencies': False,
'requirements_file': json.dumps({'collections': ['.'.join(list(sync_collection))]}),
}
Expand Down Expand Up @@ -97,4 +97,4 @@ def test_community_collection_download_count_sync(ansible_config):
+ f'index/{sync_collection[0]}/{sync_collection[1]}/'
)
check_resp = api_client.request(check_url)
assert check_resp['download_count'] > 0, check_resp
assert check_resp['download_count'] > 0, check_resp

0 comments on commit 39e28e7

Please sign in to comment.