mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Enable tests (#3015)
* Enable tests. * Fix error message check. * Fix boolean tests. * Adjust to Python version.
This commit is contained in:
parent
ea822c7bdd
commit
9b1c6f0743
6 changed files with 15 additions and 15 deletions
|
@ -10,8 +10,8 @@
|
|||
- name: assert failing dependency
|
||||
assert:
|
||||
that:
|
||||
- result.failed is true
|
||||
- result is failed
|
||||
- '"Failed to import" in result.msg'
|
||||
- '"nopackagewiththisname" in result.msg'
|
||||
- '"ModuleNotFoundError:" in result.exception'
|
||||
- '"ModuleNotFoundError:" in result.exception or "ImportError:" in result.exception'
|
||||
- '"nopackagewiththisname" in result.exception'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue