mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
b6006f78f0
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. |
||
---|---|---|
.. | ||
plugins | ||
__init__.py | ||
aci.py | ||
backend.py | ||
base.py | ||
cli.py | ||
compat.py | ||
config.py | ||
constants.py | ||
crud.py | ||
dn.py | ||
encoder.py | ||
errors.py | ||
frontend.py | ||
output.py | ||
parameters.py | ||
pkcs10.py | ||
plugable.py | ||
request.py | ||
rpc.py | ||
text.py | ||
util.py | ||
x509.py |