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
Lu Xu
slapos.core
Commits
9c3c6430
Commit
9c3c6430
authored
Nov 29, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass future accounting date to alarm.
parent
dac221ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
master/bt5/slapos_erp5/TestTemplateItem/testSlapOSERP5DefaultScenario.py
...os_erp5/TestTemplateItem/testSlapOSERP5DefaultScenario.py
+3
-2
master/bt5/slapos_erp5/bt/revision
master/bt5/slapos_erp5/bt/revision
+1
-1
master/product/Vifib/tests/VifibMixin.py
master/product/Vifib/tests/VifibMixin.py
+1
-1
No files found.
master/bt5/slapos_erp5/TestTemplateItem/testSlapOSERP5DefaultScenario.py
View file @
9c3c6430
...
@@ -10,7 +10,7 @@ import re
...
@@ -10,7 +10,7 @@ import re
import
xml_marshaller
import
xml_marshaller
from
AccessControl.SecurityManagement
import
getSecurityManager
,
\
from
AccessControl.SecurityManagement
import
getSecurityManager
,
\
setSecurityManager
setSecurityManager
from
DateTime
import
DateTime
def
changeSkin
(
skin_name
):
def
changeSkin
(
skin_name
):
def
decorator
(
func
):
def
decorator
(
func
):
...
@@ -627,7 +627,8 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
...
@@ -627,7 +627,8 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
self
.
tic
()
self
.
tic
()
# deliver aggregated deliveries
# deliver aggregated deliveries
self
.
stepCallSlaposDeliverConfirmedAggregatedSalePackingListAlarm
()
self
.
stepCallSlaposDeliverConfirmedAggregatedSalePackingListAlarm
(
accounting_date
=
DateTime
(
'2222/01/01'
))
self
.
tic
()
self
.
tic
()
# stabilise aggregated deliveries and expand them
# stabilise aggregated deliveries and expand them
...
...
master/bt5/slapos_erp5/bt/revision
View file @
9c3c6430
111
112
\ No newline at end of file
\ No newline at end of file
master/product/Vifib/tests/VifibMixin.py
View file @
9c3c6430
...
@@ -181,7 +181,7 @@ class testVifibMixin(ERP5TypeTestCase):
...
@@ -181,7 +181,7 @@ class testVifibMixin(ERP5TypeTestCase):
sm
=
getSecurityManager
()
sm
=
getSecurityManager
()
self
.
login
()
self
.
login
()
try
:
try
:
alarm
.
activeSense
()
alarm
.
activeSense
(
*
args
,
**
kwargs
)
transaction
.
commit
()
transaction
.
commit
()
finally
:
finally
:
setSecurityManager
(
sm
)
setSecurityManager
(
sm
)
...
...
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