Project

Profile

Help

Issue #7739

Updated by daviddavis over 3 years ago

If you use this requirements.yml file[0], you will end up with 3 collection versions. However, you should only have 1 as the two releases for testing.ansible_testing_content are 4.0.4 and 4.0.6[1] which don't match ">=1.0.0,<=2.0.0", and there's only one release of testing.k8s_demo_collection[2]. testing.k8s_demo_collection. 

 To reproduce this in a test environment, change this line[3] to use assertEqual since ANSIBLE_COLLECTION_FIXTURE_COUNT is 1. 

 [0] https://github.com/pulp/pulp_ansible/blob/739a5551c87f4fffa9f46bee7fce9975e39020e8/pulp_ansible/tests/functional/constants.py#L83-L88 

 [1] https://galaxy-dev.ansible.com/api/v2/collections/testing/ansible_testing_content/versions/ 

 [2] https://galaxy.ansible.com/api/v2/collections/testing/k8s_demo_collection/versions/ 

 [3] https://github.com/pulp/pulp_ansible/blob/739a5551c87f4fffa9f46bee7fce9975e39020e8/pulp_ansible/tests/functional/api/collection/v2/test_sync.py#L204

Back