freeipa/tests
John Dennis b6006f78f0 ticket 1569 - Test DN object non-latin Unicode support
The DN unittest was lacking a test for i18n. The unittest was
updated to store "Hello" in Arabic with both utf-8 and unicode
and verify the values could be properly retrieved and converted
to dn string syntax.

During the testing a few problems were discovered and corrected.

* passing in utf-8 caused an ASCII decode error becuase of Python's
  silly default encoding of ASCII. The fix was to explictly use
  the utf-8 codec.

* there were a couple of places where encode/decode were not
  called correctly.

* the internal attr and value members of the AVA class were renamed
  to explicitly show they are stored as unicode.

Of course the unittest was updated as well.
2011-08-16 23:28:31 -04:00
..
test_cmdline Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_install Fix test failure in updater when adding values to a single-value attr 2011-07-11 19:21:51 -04:00
test_ipalib ticket 1569 - Test DN object non-latin Unicode support 2011-08-16 23:28:31 -04:00
test_ipapython Do stricter checking of IP addressed passed to server install. 2011-05-30 13:38:46 +02:00
test_ipaserver Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_pkcs10 Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_xmlrpc Add hbactest command. https://fedorahosted.org/freeipa/ticket/386 2011-07-28 18:01:44 -04:00
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
data.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_util.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
util.py assert_deepequal supports callback for equality testing 2011-06-22 01:16:31 -04:00