freeipa/tests/test_ipalib
Petr Viktorin dddebe2350 Only split CSV in the client, quote instead of escaping
Splitting on commas is not an idempotent operation:
'a,b\,c' -> ('a', 'b,c') -> ('a', 'b', 'c')

That means we can't do it when the call is forwarded, so this is only
done on the CLI. The UI already sends values as a tuple.

Replace escaping in the csv parser with quoting. Quoted strings can have
embedded commas instead of having to escape them. This prevents the csv
parser from eating all escape characters.

Also, document Param's csv arguments, and update tests.

https://fedorahosted.org/freeipa/ticket/2417
https://fedorahosted.org/freeipa/ticket/2227
2012-03-20 20:03:54 -04:00
..
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_backend.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_base.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_cli.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_config.py Let the framework be able to override the hostname. 2011-06-23 02:11:34 -04:00
test_crud.py Add API version and have server reject incompatible clients. 2011-01-14 14:26:22 -05:00
test_dn.py ticket 1569 - Test DN object non-latin Unicode support 2011-08-16 23:28:31 -04:00
test_encoder.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_errors.py Fix i18n related failures in unit tests. 2011-03-01 10:31:41 -05:00
test_frontend.py Finalize plugin initialization on demand. 2011-11-22 00:52:24 -05:00
test_output.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_parameters.py Only split CSV in the client, quote instead of escaping 2012-03-20 20:03:54 -04:00
test_plugable.py Fix attempted write to attribute of read-only object. 2012-01-02 11:51:26 +03:00
test_rpc.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_text.py Final i18n unit test fixes. 2011-03-01 10:31:43 -05:00
test_util.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_x509.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00