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
Adrian Likins 2b0a7338d4 Handle win style CRLF newlines in vault text (#27590)
When parsing a vaulttext blob, use .splitlines()
instead of split(b'\n') to handle \n newlines and
windows style \r\n (CRLF) new lines.

The vaulttext enevelope at this point is just the header line
and a hexlify()'ed blob, so CRLF is a valid newline here.

Fixes #22914
2017-08-01 18:53:22 -04:00
..
utils test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
vault Handle win style CRLF newlines in vault text (#27590) 2017-08-01 18:53:22 -04:00
yaml Support multiple vault passwords (#22756) 2017-07-28 15:20:58 -04:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_dataloader.py Support multiple vault passwords (#22756) 2017-07-28 15:20:58 -04:00
test_metadata.py metadata and doc generator optimization and fixes 2017-07-04 01:12:43 -07:00
test_mod_args.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_splitter.py Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00
test_unquote.py Switch tests to pytest and ansible-test. 2017-01-11 12:34:59 -08:00