You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units/template
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 }}"
6 years ago
..
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
test_safe_eval.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_templar.py templar: ensure that exceptions are handled, fix 'AttributeError' (#48792) 6 years ago
test_template_utilities.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
test_tests_as_filters_warning.py Remove duplicated "instead" word (#38800) 7 years ago
test_vars.py Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago