[Product-Developers] Any clue on setting the value for an OrderedSelectWidget in a functional test?

oggers oggers at gmail.com
Thu Feb 21 09:37:17 UTC 2013


Hi,

I'm trying to write a functional test for a plone form that has an
OrderedSelectWidget and I can't figure out how to set this.

This is my code in tests.py:



In this case I try to set the value to all available shop objects.
available_shops returns a SimpleVocabulary

And this is the field definition:






--
View this message in context: http://plone.293351.n2.nabble.com/Any-clue-on-setting-the-value-for-an-OrderedSelectWidget-in-a-functional-test-tp7563395.html
Sent from the Product Developers mailing list archive at Nabble.com.


More information about the Product-Developers mailing list