Technical أرشيف القائمة البريدية

الصورة الرمزية

Re: assert_equals in yaml python blocks

Leonardo Pistone
- 25 سبتمبر, 2014 07:20:49
Hi Nicolas,

Yes, it's probably the same few lines that are used in behave for the
same purpose.

I see what you mean, it's only a few lines, but still I feel that odoo
is already a huge monolithic blob, and we should probably not fear too
much having some python dependencies.

More in general, I'm slowly getting frustrated with yaml tests, and I
am considering whether tools like nose could make life easier in many
ways for writing python tests.

This is of course a broader subject (the future of testing in odoo)
and it will be a pleasure to discuss that with you and the others when
we have the occasion.


On Thu, Sep 25, 2014 at 1:07 PM, Nicolas Bessi
<> wrote:
> Hello,
> After having a look at:
> We can see that nose only expose unittest.TestCase assertion method and is
> is done with 10 lines.
> Maybe we can take that code back in Odoo providing a helper addons or
> whatever instead of adding nose as a dependency.
> My two cents
> Nicolas