mirror of https://github.com/ansible/ansible.git
Fix baseurl handling in yum_repository test (#75096)
Since we moved yum_repository_test_repo.baseurl to file:/// format, using urlsplit filter on it returned an empty string. Using an empty string as a left operand of `in` was then always evaluated to True. This was discovered with native jinja being on where urlsplit returns None which results in a hard fail as None cannot be a left operand of `in <string>`.pull/75078/head
parent
865bda3a11
commit
03cb40e712
Loading…
Reference in New Issue