Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Ophélie Gagnard
slapos.core
Commits
ab4a2049
Commit
ab4a2049
authored
Jul 11, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update business template lists and added more assertions.
parent
5149ac85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
master/bt5/erp5_configurator_vifib/TestTemplateItem/testVifibConfigurationWorkflow.py
..._vifib/TestTemplateItem/testVifibConfigurationWorkflow.py
+12
-3
No files found.
master/bt5/erp5_configurator_vifib/TestTemplateItem/testVifibConfigurationWorkflow.py
View file @
ab4a2049
...
@@ -82,7 +82,9 @@ class TestVifibConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -82,7 +82,9 @@ class TestVifibConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
'vifib_web'
,
'vifib_web'
,
'vifib_open_trade'
,
'vifib_open_trade'
,
'vifib_l10n_fr'
,
'vifib_l10n_fr'
,
'vifib_datas'
,
'vifib_data'
,
'vifib_data_category'
,
'vifib_data_web'
,
'vifib_erp5'
)
'vifib_erp5'
)
def
getBusinessTemplateList
(
self
):
def
getBusinessTemplateList
(
self
):
...
@@ -119,10 +121,16 @@ class TestVifibConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -119,10 +121,16 @@ class TestVifibConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
self
.
setBusinessConfigurationWorkflow
(
business_configuration
,
self
.
setBusinessConfigurationWorkflow
(
business_configuration
,
"workflow_module/vifib_configuration_workflow"
)
"workflow_module/vifib_configuration_workflow"
)
def
stepCheckVifibObjectList
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
""" Check if objects are placed into the appropriate state """
self
.
assertNotEquals
(
None
,
getattr
(
self
.
portal
,
"portal_certificate_authority"
,
None
))
def
stepCheckMaxmaDemoSampleObjectList
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
self
.
assertNotEquals
(
None
,
getattr
(
self
.
portal
,
"portal_slap"
,
None
))
""" Check if objects are placed into the appropriate state """
# Verify if acl_user is appropriatted configured.
# XXX Not implemented yet
# Check Gadgets
# Check Gadgets
for
gadget
in
self
.
portal
.
portal_gadgets
.
searchFolder
():
for
gadget
in
self
.
portal
.
portal_gadgets
.
searchFolder
():
...
@@ -148,6 +156,7 @@ class TestVifibConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
...
@@ -148,6 +156,7 @@ class TestVifibConfiguratorWorkflow(TestLiveConfiguratorWorkflowMixin):
stepStartConfigurationInstallation
stepStartConfigurationInstallation
stepTic
stepTic
stepCheckInstanceIsConfigured%(country)s
stepCheckInstanceIsConfigured%(country)s
stepCheckVifibObjectList
"""
"""
def
test_vifib_workflow
(
self
):
def
test_vifib_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