diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-02-18 00:12:04 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-18 10:10:35 -0500 |
commit | fa75959486ddbd0be00f3611457e940215635a3a (patch) | |
tree | 85b19febf95849b29daebdbb0212bdab03b51312 /tests | |
parent | b26e265961e929547469e37e0f0927d9965b5264 (diff) | |
download | freeipa.git-fa75959486ddbd0be00f3611457e940215635a3a.tar.gz freeipa.git-fa75959486ddbd0be00f3611457e940215635a3a.tar.xz freeipa.git-fa75959486ddbd0be00f3611457e940215635a3a.zip |
Fixed parameter for user city.
Previously the user's city parameter is defined to use the 'locality'
attribute. This was a problem because the attribute would be returned
as 'l' by the directory server causing a mismatch. Now the parameter
has been changed to use the 'l' attribute.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_xmlrpc/test_user_plugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_xmlrpc/test_user_plugin.py b/tests/test_xmlrpc/test_user_plugin.py index d8d95b9f..cacf1077 100644 --- a/tests/test_xmlrpc/test_user_plugin.py +++ b/tests/test_xmlrpc/test_user_plugin.py @@ -510,7 +510,7 @@ class test_user(Declarative): desc='Create %r with a full address' % user1, command=( 'user_add', [user1], dict(givenname=u'Test', sn=u'User1', - street=u'123 Maple Rd', locality=u'Anytown', st=u'MD', + street=u'123 Maple Rd', l=u'Anytown', st=u'MD', telephonenumber=u'410-555-1212',) ), expected=dict( @@ -530,7 +530,7 @@ class test_user(Declarative): cn=[u'Test User1'], initials=[u'TU'], street=[u'123 Maple Rd'], - locality=[u'Anytown'], + l=[u'Anytown'], st=[u'MD'], telephonenumber=[u'410-555-1212'], ipauniqueid=[fuzzy_uuid], |