Community: Framework mailing list archives
Re: Create 'res.users' with password in unitesby
Vauxoo S.A. de C.V., Nhomar Hernandez
On Fri, Apr 22, 2016 at 9:10 AM, Anucha Petchagun <firstname.lastname@example.org> wrote:
I've tried to create 'res.users' with password for unit testing by passing name, login and password to method 'create' and try to logging in with method '_login' with same login and password but it return nothing.Anyway, it work on other place and my developing module work fine. but, my QA preferred to have unit testing.
Your QA is abosollutly right.
here a unit test that validates exactly wht you need.
Thank you for your help.--