From ca9fb0225c869ff9904af575a43ba05a4dc674d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 18 Mar 2021 23:04:17 +0100 Subject: [PATCH] Remove tree structure from company issue10163 review332181002 --- tests/scenario_project_invoice_effort.rst | 2 -- tests/scenario_project_invoice_progress.rst | 2 -- tests/scenario_project_invoice_timesheet.rst | 2 -- 3 files changed, 6 deletions(-) diff --git a/tests/scenario_project_invoice_effort.rst b/tests/scenario_project_invoice_effort.rst index 99e3337043..78a5e267cd 100644 --- a/tests/scenario_project_invoice_effort.rst +++ b/tests/scenario_project_invoice_effort.rst @@ -33,7 +33,6 @@ Create project user:: >>> project_user = User() >>> project_user.name = 'Project' >>> project_user.login = 'project' - >>> project_user.main_company = company >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> timesheet_group, = Group.find([('name', '=', 'Timesheet Administration')]) >>> project_user.groups.extend([project_group, timesheet_group]) @@ -44,7 +43,6 @@ Create project invoice user:: >>> project_invoice_user = User() >>> project_invoice_user.name = 'Project Invoice' >>> project_invoice_user.login = 'project_invoice' - >>> project_invoice_user.main_company = company >>> project_invoice_group, = Group.find([('name', '=', 'Project Invoice')]) >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> project_invoice_user.groups.extend( diff --git a/tests/scenario_project_invoice_progress.rst b/tests/scenario_project_invoice_progress.rst index efff33e49a..1b043b9f02 100644 --- a/tests/scenario_project_invoice_progress.rst +++ b/tests/scenario_project_invoice_progress.rst @@ -33,7 +33,6 @@ Create project user:: >>> project_user = User() >>> project_user.name = 'Project' >>> project_user.login = 'project' - >>> project_user.main_company = company >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> timesheet_group, = Group.find([('name', '=', 'Timesheet Administration')]) >>> project_user.groups.extend([project_group, timesheet_group]) @@ -44,7 +43,6 @@ Create project invoice user:: >>> project_invoice_user = User() >>> project_invoice_user.name = 'Project Invoice' >>> project_invoice_user.login = 'project_invoice' - >>> project_invoice_user.main_company = company >>> project_invoice_group, = Group.find([('name', '=', 'Project Invoice')]) >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> project_invoice_user.groups.extend( diff --git a/tests/scenario_project_invoice_timesheet.rst b/tests/scenario_project_invoice_timesheet.rst index 8b9ef12b46..298a1ee56c 100644 --- a/tests/scenario_project_invoice_timesheet.rst +++ b/tests/scenario_project_invoice_timesheet.rst @@ -34,7 +34,6 @@ Create project user:: >>> project_user = User() >>> project_user.name = 'Project' >>> project_user.login = 'project' - >>> project_user.main_company = company >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> timesheet_group, = Group.find([('name', '=', 'Timesheet Administration')]) >>> project_user.groups.extend([project_group, timesheet_group]) @@ -45,7 +44,6 @@ Create project invoice user:: >>> project_invoice_user = User() >>> project_invoice_user.name = 'Project Invoice' >>> project_invoice_user.login = 'project_invoice' - >>> project_invoice_user.main_company = company >>> project_invoice_group, = Group.find([('name', '=', 'Project Invoice')]) >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> project_invoice_user.groups.extend(