Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Amer
erp5
Commits
d7fd8b84
Commit
d7fd8b84
authored
Jan 17, 2012
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow up recent changes on categories spreadsheet.
parent
4934032d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py
...ard/TestTemplateItem/testStandardConfigurationWorkflow.py
+9
-9
No files found.
bt5/erp5_configurator_standard/TestTemplateItem/testStandardConfigurationWorkflow.py
View file @
d7fd8b84
...
@@ -132,7 +132,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -132,7 +132,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
field_your_reference
=
self
.
person_creator_reference
,
field_your_reference
=
self
.
person_creator_reference
,
field_your_password
=
'person_creator'
,
field_your_password
=
'person_creator'
,
field_your_password_confirm
=
'person_creator'
,
field_your_password_confirm
=
'person_creator'
,
field_your_function
=
'
person/creato
r'
,
field_your_function
=
'
hr/manage
r'
,
field_your_default_email_text
=
''
,
field_your_default_email_text
=
''
,
field_your_default_telephone_text
=
''
,
field_your_default_telephone_text
=
''
,
),
dict
(
),
dict
(
...
@@ -141,7 +141,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -141,7 +141,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
field_your_reference
=
self
.
person_assignee_reference
,
field_your_reference
=
self
.
person_assignee_reference
,
field_your_password
=
'person_assignee'
,
field_your_password
=
'person_assignee'
,
field_your_password_confirm
=
'person_assignee'
,
field_your_password_confirm
=
'person_assignee'
,
field_your_function
=
'
person/assignee
'
,
field_your_function
=
'
af/accounting/manager
'
,
field_your_default_email_text
=
''
,
field_your_default_email_text
=
''
,
field_your_default_telephone_text
=
''
,
field_your_default_telephone_text
=
''
,
),
dict
(
),
dict
(
...
@@ -150,14 +150,14 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -150,14 +150,14 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
field_your_reference
=
self
.
person_assignor_reference
,
field_your_reference
=
self
.
person_assignor_reference
,
field_your_password
=
'person_assignor'
,
field_your_password
=
'person_assignor'
,
field_your_password_confirm
=
'person_assignor'
,
field_your_password_confirm
=
'person_assignor'
,
field_your_function
=
'
person/assigno
r'
,
field_your_function
=
'
sales/manage
r'
,
field_your_default_email_text
=
''
,
field_your_default_email_text
=
''
,
field_your_default_telephone_text
=
''
,
field_your_default_telephone_text
=
''
,
),
),
]
]
# set preference group
# set preference group
self
.
preference_group
=
'group/
g
'
self
.
preference_group
=
'group/
my_group
'
def
beforeTearDown
(
self
):
def
beforeTearDown
(
self
):
os
.
remove
(
self
.
categories_file_path
)
os
.
remove
(
self
.
categories_file_path
)
...
@@ -239,13 +239,13 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -239,13 +239,13 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
sequence_list
=
sequence_list
,
sequence_list
=
sequence_list
,
field_your_default_address_city
=
'LILLE'
,
field_your_default_address_city
=
'LILLE'
,
field_your_default_address_region
=
'europe/western_europe/france'
,
field_your_default_address_region
=
'europe/western_europe/france'
,
field_your_group
=
'
g
'
)
field_your_group
=
'
my_group
'
)
def
stepCheckOrganisationConfiguratorItem
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
def
stepCheckOrganisationConfiguratorItem
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
""" Check if organisation was created fine """
""" Check if organisation was created fine """
business_configuration
=
sequence
.
get
(
"business_configuration"
)
business_configuration
=
sequence
.
get
(
"business_configuration"
)
# last one: a step for what the client selected
# last one: a step for what the client selected
organisation_config_save
=
business_configuration
[
'
6
'
]
organisation_config_save
=
business_configuration
[
'
5
'
]
self
.
assertEquals
(
1
,
len
(
organisation_config_save
.
contentValues
()))
self
.
assertEquals
(
1
,
len
(
organisation_config_save
.
contentValues
()))
# first item: configuration of our organisation
# first item: configuration of our organisation
organisation_config_item
=
organisation_config_save
[
'1'
]
organisation_config_item
=
organisation_config_save
[
'1'
]
...
@@ -290,7 +290,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -290,7 +290,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
person_business_configuration_item
.
getReference
())
person_business_configuration_item
.
getReference
())
self
.
assertEquals
(
'person_creator'
,
self
.
assertEquals
(
'person_creator'
,
person_business_configuration_item
.
getPassword
())
person_business_configuration_item
.
getPassword
())
self
.
assertEquals
(
'
person/creato
r'
,
self
.
assertEquals
(
'
hr/manage
r'
,
person_business_configuration_item
.
getFunction
())
person_business_configuration_item
.
getFunction
())
person_business_configuration_item
=
\
person_business_configuration_item
=
\
...
@@ -305,7 +305,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -305,7 +305,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
person_business_configuration_item
.
getReference
())
person_business_configuration_item
.
getReference
())
self
.
assertEquals
(
'person_assignee'
,
self
.
assertEquals
(
'person_assignee'
,
person_business_configuration_item
.
getPassword
())
person_business_configuration_item
.
getPassword
())
self
.
assertEquals
(
'
person/assignee
'
,
self
.
assertEquals
(
'
af/accounting/manager
'
,
person_business_configuration_item
.
getFunction
())
person_business_configuration_item
.
getFunction
())
person_business_configuration_item
=
\
person_business_configuration_item
=
\
...
@@ -320,7 +320,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -320,7 +320,7 @@ class TestConsultingConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
person_business_configuration_item
.
getReference
())
person_business_configuration_item
.
getReference
())
self
.
assertEquals
(
'person_assignor'
,
self
.
assertEquals
(
'person_assignor'
,
person_business_configuration_item
.
getPassword
())
person_business_configuration_item
.
getPassword
())
self
.
assertEquals
(
'
person/assigno
r'
,
self
.
assertEquals
(
'
sales/manage
r'
,
person_business_configuration_item
.
getFunction
())
person_business_configuration_item
.
getFunction
())
def
test_consulting_workflow
(
self
):
def
test_consulting_workflow
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment