freeipa/tests/test_ipalib
Petr Viktorin f19218f7d8 Remove duplicate and unused utility code
IPA has some unused code from abandoned features (Radius, ipa 1.x user
input, commant-line tab completion), as well as some duplicate utilities.
This patch cleans up the utility modules.

Duplicate code consolidated into ipapython.ipautil:
    {ipalib.util,ipaserver.ipautil,ipapython.ipautil}.realm_to_suffix
    {ipaserver,ipapython}.ipautil.CIDict
            (with style improvements from the ipaserver version)
    {ipapython.entity,ipaserver.ipautil}.utf8_encode_value
    {ipapython.entity,ipaserver.ipautil}.utf8_encode_values

ipalib.util.get_fqdn was removed in favor of the same function in
ipaserver.install.installutils

Removed unused code:
    ipalib.util:
        load_plugins_in_dir
        import_plugins_subpackage
        make_repr (was imported but unused; also removed from tests)

    ipapython.ipautil:
        format_list
        parse_key_value_pairs
        read_pairs_file
        read_items_file
        user_input_plain
        AttributeValueCompleter
        ItemCompleter

    ipaserver.ipautil:
        get_gsserror (a different version exists in ipapython.ipautil)

ipaserver.ipautil ended up empty and is removed entirely.

https://fedorahosted.org/freeipa/ticket/2650
2012-05-09 11:54:20 +02: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 Redo boolean value encoding. 2012-05-09 09:43:35 +02: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 Change parameters to use only default_from for dynamic default values. 2012-03-28 14:04:31 +02: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 text unit test should validate using installed mo file 2012-04-10 18:11:48 -04:00
test_util.py Remove duplicate and unused utility code 2012-05-09 11:54:20 +02:00
test_x509.py ticket 1600 - convert unittests to use DN objects 2011-08-16 23:52:26 -04:00