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
[2] https://docs.python.org/3/library/unittest.mock.html
[3] http://pypi.python.org/pypi/mock

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpTXn66CdrgH.pgp
Description: PGP signature

Reply via email to