Hi,
I think I found a small error in Paste's unit-testing code,
paste.fixture.Form. Line 929 should read (see
http://pythonpaste.org/paste/fixture.py.html?f=909&l=930#909):
fields[name][0].value = value
Without this, __setitem__ doesn't work, so instruction like this does
nothing useful:
response.form.fieldname = fieldvalue
In the meantime, use this:
response.form.fields['fieldname'][0].value = fieldvalue
Trac at pythonpaste.org is still not working, so I'm posting this here
to at least save people some trouble writing testing code.
Thanks,
Sergey.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---