No need to set password on scenario user

The new constraint on user password prevents to use login as password.
This commit is contained in:
Cédric Krier committed 2017-04-30 00:22:01 +02:00
1 parent 2b8e8c70e5
commit b4419276f4
1 file changed
-1
@@ -34,7 +34,6 @@ Create an accountant user::
>>> accountant = User()
>>> accountant.name = 'Accountant'
>>> accountant.login = 'accountant'
>>> accountant.password = 'accountant'
>>> account_group, = Group.find([('name', '=', 'Account')])
>>> accountant.groups.append(account_group)
>>> accountant.save()