[tg-trunk] Re: ToscaWidgets: options validatation

2007-04-05 Thread Alberto Valverde
On Apr 5, 2007, at 9:45 AM, Max Ischenko wrote: Hello, I wonder why this test fails: def test_options(): w = MultipleSelectField(options=Group1 Group2 Group3.split()) eq_(['Group3', 'Group1'], w.validate(['Group3', 'Group1'])) print w.validate(['GroupX']) assert 0,

[tg-trunk] Re: TG 1.1

2007-04-05 Thread Alberto Valverde
On Mar 30, 2007, at 6:37 AM, Max Ischenko wrote: Alberto, On 3/29/07, Alberto Valverde [EMAIL PROTECTED] wrote: I have re-enabled config.update() to use the module-global config var and re-wrote testutil.py to stub call/create_request so that these don't use cherrypy. As a result

[tg-trunk] Re: ToscaWidgets: options validatation

2007-04-05 Thread Max Ischenko
Alberto, On 4/5/07, Alberto Valverde [EMAIL PROTECTED] wrote: def test_options(): w = MultipleSelectField(options=Group1 Group2 Group3.split()) eq_(['Group3', 'Group1'], w.validate(['Group3', 'Group1'])) print w.validate(['GroupX']) assert 0, formencode.Invalid not

[tg-trunk] Turbogears 1.1

2007-04-05 Thread Alberto Valverde
Hi, I've just updated the roadmap at Trac to summarize the plans for 1.1: http://trac.turbogears.org/milestone/1.1 Feel free to drop any question for discussion at this thread. Alberto --~--~-~--~~~---~--~~ You received this message because you are subscribed

[tg-trunk] Re: ToscaWidgets: options validatation

2007-04-05 Thread Alberto Valverde
On Apr 5, 2007, at 1:50 PM, Max Ischenko wrote: Alberto, On 4/5/07, Alberto Valverde [EMAIL PROTECTED] wrote: def test_options(): w = MultipleSelectField(options=Group1 Group2 Group3.split()) eq_(['Group3', 'Group1'], w.validate(['Group3', 'Group1'])) print