'Testing editing the contents of ldda1 AddressField template by adding a new user_address'

def test_035_edit_contents_of_ldda1_tempplate(self):

    short_desc = 'Home'
    self.ldda_edit_info('library_admin', self.security.encode_id(library1.id), self.security.encode_id(folder1.id), self.security.encode_id(ldda1.id), ldda1.name, template_refresh_field_name=address_field_name, template_refresh_field_contents='new', template_fields=[(('%s_short_desc' % address_field_name), short_desc), (('%s_name' % address_field_name), 'Richard'), (('%s_institution' % address_field_name), 'PSU'), (('%s_address' % address_field_name), '32    O    Street'), (('%s_city' % address_field_name), 'Anywhere'), (('%s_state' % address_field_name), 'AK'), (('%s_postal_code' % address_field_name), '0000000'), (('%s_country' % address_field_name), 'USA')], strings_displayed=[short_desc])
    global user_address2
    user_address2 = get_user_address(admin_user, short_desc)
    assert (user_address2 is not None), 'Problem    retrieving    user_address2    from    the    database'
