[MIG] bi_sql_editor: Migration to 11.0

This commit is contained in:
hveficent
2018-07-25 15:55:20 +02:00
committed by David James
parent 2ea9c09784
commit b14d345a8c
8 changed files with 6 additions and 14 deletions

View File

@@ -1,3 +1,2 @@
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import test_bi_sql_view

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Onestein (<http://www.onestein.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
@@ -40,11 +39,10 @@ class TestBiSqlViewEditor(SingleTransactionCase):
def _create_user(cls, login, groups, company):
"""Create a user."""
user = cls.res_users.create({
'name': 'Test BI User',
'name': login,
'login': login,
'password': 'demo',
'email': 'example@yourcompany.com',
'notify_email': 'none',
'company_id': company.id,
'groups_id': [(6, 0, groups.ids)]
})