ansible/test/units
Brian Coca 6cd015d7e2
Make filter type errors 'loop friendly' (#70417) (#70574)
- ensure we preserve the typeerror part of the exception so loop defereed error handling
 can postpone those caused by undefined variables until the when check is done.
 - fix tests to comply with the 'new normal'

 - human_to_bytes and others can issue TypeError not only on 'non string'
 but also bad string that is not convertable.

Co-authored-by: Sloane Hertel <shertel@redhat.com>

Co-authored-by: Sloane Hertel <shertel@redhat.com>
(cherry picked from commit cf89ca8a03)
2020-07-17 12:51:18 -07:00
..
_vendor transparent downstream vendoring (#69850) 2020-06-15 16:22:25 -07:00
ansible_test Add Azure Pipelines support to ansible-test. 2020-06-11 14:57:42 -07:00
cli ansible-galaxy - fix collection installation with trailing slashes (#70016) 2020-06-15 17:36:07 -04:00
compat
config [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
errors Remove empty overridden unittest.setUp and unittest.tearDown methods. 2019-11-05 09:12:11 -08:00
executor refactor Python module_utils locator (#70610) (#70711) 2020-07-17 10:57:44 -07:00
galaxy [2.10] Improve ansible-galaxy STDOUT messages for collections (#70379) 2020-07-17 12:39:16 -07:00
inventory [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
inventory_test_data/group_vars
mock [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
module_utils [stable-2.10] Only pass kwargs to our string checker not callable checkers (#70151) (#70170) 2020-07-17 10:53:56 -07:00
modules [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
parsing [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
playbook [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
plugins Make filter type errors 'loop friendly' (#70417) (#70574) 2020-07-17 12:51:18 -07:00
regex
template Do not treat AnsibleUndefined as being unsafe (#65202) 2019-11-25 15:06:29 +01:00
utils [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 2019-11-06 08:14:29 -08:00
__init__.py
requirements.txt Remove unnecessary unit test requirements. 2020-03-23 11:14:21 -05:00
test_constants.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00
test_context.py [stable-2.10] Clean up unit test boilerplate. 2020-07-13 18:28:02 -07:00