Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: assert_equals in yaml python blocks

by
Camptocamp SA, Nicolas Bessi
- 09/25/2014 06:54:43
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

2014-09-25 12:02 GMT+02:00 Leonardo Pistone <lpistone@gmail.com>:
OK, thanks!

On Thu, Sep 25, 2014 at 11:17 AM, Leonardo "LeartS" Donelli
<learts92@gmail.com> wrote:
> So my position is:
>  * in favour of adding nose to travis
>  * in favour of using it in tests if one wants to
>  * not in favour of adding it as module dependency in __openerp__.py:
> who's running the tests will figure out the ImportError and install
> nose. Maybe aided by a comment or a log message if we really think
> developers won't understand what "the problem" is.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-framework-62
Post to: mailto:expert-framework@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Nicolas Bessi
Senior ERP consultant
Business Solution technical manager

Camptocamp SA
PSE A
CH-1015 Lausanne