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
Cédric Le Ninivin
slapos.core
Commits
73018a66
Commit
73018a66
authored
Aug 09, 2021
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_configurator: Test if interaction where dropped for Simulation
parent
b4ff112e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
...tem/portal_components/test.erp5.testSlapOSConfigurator.py
+16
-0
No files found.
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
View file @
73018a66
...
@@ -155,6 +155,21 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
...
@@ -155,6 +155,21 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
""" Make sure portal_alarms is subscribed. """
""" Make sure portal_alarms is subscribed. """
self
.
assertTrue
(
self
.
portal
.
portal_alarms
.
isSubscribed
())
self
.
assertTrue
(
self
.
portal
.
portal_alarms
.
isSubscribed
())
def
testInteractionDropped
(
self
):
""" Make sure that no portal type uses interaction workflow for simulation """
for
pt
in
self
.
portal
.
portal_types
.
objectValues
():
for
dropped_workflow
in
[
"delivery_movement_simulation_interaction_workflow"
,
"delivery_simulation_interaction_workflow"
,
"open_order_simulation_interaction_workflow"
,
"open_order_path_simulation_interaction_workflow"
,
"container_interaction_workflow"
,
"transformation_interaction_workflow"
,
"trade_model_line_interaction_workflow"
]:
self
.
assertNotIn
(
dropped_workflow
,
pt
.
getTypeWorkflowList
(),
"Workflow %s still present on %s Portal Type (%s)"
%
\
(
dropped_workflow
,
pt
,
pt
.
getTypeWorkflowList
()))
def
testModuleHasIdGeneratorByDay
(
self
):
def
testModuleHasIdGeneratorByDay
(
self
):
""" Ensure the Constraint sets appropriate id generator on all modules.
""" Ensure the Constraint sets appropriate id generator on all modules.
"""
"""
...
@@ -352,6 +367,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
...
@@ -352,6 +367,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
'erp5_slapos_tutorial_data'
,
'erp5_slapos_tutorial_data'
,
'erp5_slideshow_style'
,
'erp5_slideshow_style'
,
'erp5_authentication_policy'
,
'erp5_authentication_policy'
,
'erp5_interaction_drop'
,
'slapos_mysql_innodb_catalog'
,
'slapos_mysql_innodb_catalog'
,
'slapos_cloud'
,
'slapos_cloud'
,
'slapos_slap_tool'
,
'slapos_slap_tool'
,
...
...
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