Re: Testing FormEncode 1.3.0a1

Sebastien Douche <[email protected]> Wed, 11 Dec 2013 18:04:55 +0100
Newsgroups gmane.comp.python.formencode
Message-ID <CAAGHeXHgNp1HaitY=ha7KDp4FqOWc65j2ey61J0SJj+VPdGeyg@mail.gmail.com>
On Thu, Dec 5, 2013 at 6:12 PM, Chris Lambacher <[email protected]> wrote:
>> Right, same broken tests with the 1.2.5.
>
> That narrows things down. Do you have a custom validator that expects a
> sequence that doesn't derive from a formencode validator that expects as
> sequence (list, dict, tuple, etc)? If so you will need to add an
> accept_iterator = True property to your validator. You can do a quick test
> for that by adding it to the instantiation args somewhere you use the
> validator.

Exact, we use iterator. It's work now with FormEncode 1.2.6. I will
try later with 1.3.0a1.  Thanks Chris.


-- 
Sebastien Douche <[email protected]>
Twitter: @sdouche / G+: +sdouche

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk