From fa75959486ddbd0be00f3611457e940215635a3a Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 18 Feb 2011 00:12:04 -0600 Subject: 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. --- tests/test_xmlrpc/test_user_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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], -- cgit