freeipa/tests
Rob Crittenden e8e274c9e0 Properly handle multi-valued attributes when using setattr/addattr.
The problem was that the normalizer was returning each value as a tuple
which we were then appending to a list, so it looked like
[(u'value1',), (u'value2',),...]. If there was a single value we could
end up adding a tuple to a list which would fail. Additionally python-ldap
doesn't like lists of lists so it was failing later in the process as well.

I've added some simple tests for setattr and addattr.

ticket 565
2010-12-10 13:42:47 -05:00
..
test_cmdline Check to see if the command is available before running command tests. 2010-08-06 15:33:32 -04:00
test_install Fix the ipa-ldap-updater tests. 2010-09-10 16:52:31 -04:00
test_ipalib Add new parameter type IA5Str and use this to enforce the right charset. 2010-12-07 16:37:42 -05:00
test_ipaserver Fix LDAP client backend failing test case 2010-10-01 13:42:32 -04:00
test_pkcs10 Drop our own PKCS#10 ASN.1 decoder and use the one from python-nss 2010-07-29 10:50:10 -04:00
test_xmlrpc Properly handle multi-valued attributes when using setattr/addattr. 2010-12-10 13:42:47 -05:00
__init__.py Added top-level tests/ package that will contain all unit tests 2008-10-07 20:36:44 -06:00
data.py Re-enable Python2.4 tests and fixed some small things broken under Python2.4 2008-12-08 12:34:38 -07:00
test_util.py Added Fuzzy docstrings; make-test now runs doctests in tests/*; fixed 'existant' mispelling 2009-12-18 10:56:13 -05:00
util.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00