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/units/parsing
Abhijit Menon-Sen 065bb52109 Be systematic about parsing and validating hostnames and addresses
This adds a parse_address(pattern) utility function that returns
(host,port), and uses it wherever where we accept IPv4 and IPv6
addresses and hostnames (or host patterns): the inventory parser
the the add_host action plugin.

It also introduces a more extensive set of unit tests that supersedes
the old add_host unit tests (which didn't actually test add_host, but
only the parsing function).
2015-09-11 21:47:18 +05:30
..
vault Update Vault tests to make sure AES decryption works 2015-08-27 18:36:05 +05:30
yaml assertRaises should be given an exception type. Fixes 11441 2015-06-30 11:02:33 -05:00
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00
test_addresses.py Be systematic about parsing and validating hostnames and addresses 2015-09-11 21:47:18 +05:30
test_data_loader.py Compatibility with six-1.3.0 2015-09-08 09:46:12 -07:00
test_mod_args.py changed mod_args test to match connection 2015-08-19 00:34:37 -04:00
test_splitter.py Making the switch to v2 2015-05-03 21:47:26 -05:00
test_unquote.py Test unquote works as expected and fix two bugs: 2015-07-06 13:16:42 -07:00