1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Pilou 62c05033d6 templar: ensure that exceptions are handled, fix 'AttributeError' (#48792)
* templar: ensure that exceptions are handled

* Fix AttributeError: object has no attribute 'message'

'message' attribute is deprecated since Python 2.6 and not available
with Python 3.

Simple reproducer:

    - hosts: localhost
      vars:
        not_json: "{{ 'test str' | from_json }}"
      tasks:
        - command: "echo {{ not_json }}"
2018-11-29 09:56:23 -05:00
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
integration new module: azure_rm_rediscache (#47914) 2018-11-28 15:59:55 -08:00
legacy Digital Ocean Integration tests (#29960) 2018-11-28 12:07:47 +00:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner new module: azure_rm_rediscache (#47914) 2018-11-28 15:59:55 -08:00
sanity Refactoring cnos_vlan in line with ios, eos etc. (#48924) 2018-11-28 12:51:39 -05:00
units templar: ensure that exceptions are handled, fix 'AttributeError' (#48792) 2018-11-29 09:56:23 -05:00
utils Fix passing of env vars to Shippable. 2018-11-14 10:50:31 -08:00