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.
This commit is contained in:
Endi S. Dewata
2011-02-18 00:12:04 -06:00
committed by Adam Young
parent b26e265961
commit fa75959486
3 changed files with 10 additions and 10 deletions

View File

@@ -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],