Re: [tryton-dev] Mock object

2014-07-04 Thread Nicolas Évrard
* Cédric Krier [2014-06-23 18:37 +0200]: Hi, Hello, For the review [1], I started to use a Mock object for testing because it was easier this way. I choose to use the backport of the Python3 unittest.mock [2] [3]. I think we should stick to this library if we need to do some mocking in the

[tryton-dev] Mock object

2014-06-23 Thread Cédric Krier
Hi, For the review [1], I started to use a Mock object for testing because it was easier this way. I choose to use the backport of the Python3 unittest.mock [2] [3]. I think we should stick to this library if we need to do some mocking in the unittest. [1] http://codereview.tryton.org/9451004