mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
* python_requirements_info - fail when version operator used without version
* added changelog fragment
* simplified way of achieving the same result
(cherry picked from commit 59c1859fb3)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -25,3 +25,15 @@
|
||||
that:
|
||||
- "'installed' in dep_info.valid.pip"
|
||||
- "'notreal' in dep_info.not_found"
|
||||
|
||||
- name: wrong specs
|
||||
python_requirements_info:
|
||||
dependencies:
|
||||
- ansible<
|
||||
register: wrong_spec1
|
||||
ignore_errors: true
|
||||
|
||||
- name: ensure wrong specs return error
|
||||
assert:
|
||||
that:
|
||||
- wrong_spec1 is failed
|
||||
|
||||
Reference in New Issue
Block a user