Enable tests (#3015)

* Enable tests.

* Fix error message check.

* Fix boolean tests.

* Adjust to Python version.
This commit is contained in:
Felix Fontein 2021-07-16 19:29:00 +02:00 committed by GitHub
commit 9b1c6f0743
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 15 deletions

View file

@ -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'