Skip to content
Permalink
Browse files

demo instead of demodemo

  • Loading branch information...
tivisse committed Oct 9, 2019
1 parent 7d256ee commit 77c1f552c4bf1903dddd019f266f4f5e9e396e76
Showing with 3 additions and 0 deletions.
  1. +3 −0 odoo/addons/base/tests/common.py
@@ -14,6 +14,7 @@ def setUp(self):
self.partner_demo = self.user_demo.partner_id

if not self.user_demo:
self.env['ir.config_parameter'].sudo().set_param('auth_password_policy.minlength', 4)
self.partner_demo = self.env['res.partner'].create({
'name': 'Marc Demo',
'email': 'mark.brown23@example.com',
@@ -35,6 +36,7 @@ def setUp(self):
self.partner_demo = self.user_demo.partner_id

if not self.user_demo:
self.env['ir.config_parameter'].sudo().set_param('auth_password_policy.minlength', 4)
self.partner_demo = self.env['res.partner'].create({
'name': 'Marc Demo',
'email': 'mark.brown23@example.com',
@@ -57,6 +59,7 @@ def setUpClass(cls):
cls.partner_demo = cls.user_demo.partner_id

if not cls.user_demo:
cls.env['ir.config_parameter'].sudo().set_param('auth_password_policy.minlength', 4)
cls.partner_demo = cls.env['res.partner'].create({
'name': 'Marc Demo',
'email': 'mark.brown23@example.com',

0 comments on commit 77c1f55

Please sign in to comment.
You can’t perform that action at this time.