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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
580e0116
Commit
580e0116
authored
Feb 24, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_accounting: testSlapOSAccountingAlarm: only ledger/automated movement are built
parent
992ce455
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingAlarm.py
.../portal_components/test.erp5.testSlapOSAccountingAlarm.py
+6
-0
No files found.
master/bt5/slapos_accounting/TestTemplateItem/portal_components/test.erp5.testSlapOSAccountingAlarm.py
View file @
580e0116
...
...
@@ -691,6 +691,7 @@ class TestSlapOSTriggerBuildAlarm(SlapOSTestCaseMixin):
portal_type
=
'Applied Rule'
)
simulation_movement
=
applied_rule
.
newContent
(
portal_type
=
'Simulation Movement'
,
ledger
=
'automated'
,
title
=
'Not visited by SimulationMovement_buildSlapOS'
)
self
.
tic
()
...
...
@@ -710,6 +711,7 @@ class TestSlapOSTriggerBuildAlarm(SlapOSTestCaseMixin):
portal_type
=
'Applied Rule'
)
simulation_movement
=
applied_rule
.
newContent
(
portal_type
=
'Simulation Movement'
,
ledger
=
'automated'
,
delivery
=
delivery_line
.
getRelativeUrl
(),
title
=
'Shall be visited by SimulationMovement_buildSlapOS'
)
self
.
tic
()
...
...
@@ -736,11 +738,13 @@ class TestSlapOSTriggerBuildAlarm(SlapOSTestCaseMixin):
portal_type
=
'Applied Rule'
)
simulation_movement
=
root_applied_rule
.
newContent
(
causality
=
root_business_link
.
getRelativeUrl
(),
ledger
=
'automated'
,
portal_type
=
'Simulation Movement'
)
applied_rule
=
simulation_movement
.
newContent
(
portal_type
=
'Applied Rule'
)
lower_simulation_movement
=
applied_rule
.
newContent
(
causality
=
business_link
.
getRelativeUrl
(),
ledger
=
'automated'
,
portal_type
=
'Simulation Movement'
)
try
:
...
...
@@ -822,6 +826,7 @@ class TestSlapOSTriggerBuildAlarm(SlapOSTestCaseMixin):
portal_type
=
'Applied Rule'
)
simulation_movement
=
root_applied_rule
.
newContent
(
causality
=
root_business_link
.
getRelativeUrl
(),
ledger
=
'automated'
,
delivery
=
delivery_line
.
getRelativeUrl
(),
portal_type
=
'Simulation Movement'
)
...
...
@@ -829,6 +834,7 @@ class TestSlapOSTriggerBuildAlarm(SlapOSTestCaseMixin):
lower_simulation_movement
=
applied_rule
.
newContent
(
causality
=
business_link
.
getRelativeUrl
(),
delivery
=
delivery_line
.
getRelativeUrl
(),
ledger
=
'automated'
,
portal_type
=
'Simulation Movement'
)
try
:
...
...
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