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
Hardik Juneja
slapos.core
Commits
58496859
Commit
58496859
authored
Nov 15, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to rebranded alarms.
parent
67937bcf
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
60 additions
and
60 deletions
+60
-60
master/product/Vifib/tests/VifibMixin.py
master/product/Vifib/tests/VifibMixin.py
+7
-7
master/product/Vifib/tests/testVifibDefaultUseCase.py
master/product/Vifib/tests/testVifibDefaultUseCase.py
+22
-22
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
...ct/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
+7
-7
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
+2
-2
master/product/Vifib/tests/testVifibSlapBug.py
master/product/Vifib/tests/testVifibSlapBug.py
+3
-3
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
...product/Vifib/tests/testVifibSlapComputerPartitionLock.py
+2
-2
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+17
-17
No files found.
master/product/Vifib/tests/VifibMixin.py
View file @
58496859
...
...
@@ -235,23 +235,23 @@ class testVifibMixin(ERP5TypeTestCase):
self
.
stabiliseAccounting
()
def
stabiliseAccounting
(
self
):
self
.
stepCall
Vifib
UpdateDeliveryCausalityStateAlarm
()
self
.
stepCall
Slapos
UpdateDeliveryCausalityStateAlarm
()
self
.
tic
()
self
.
stepCallVifibSolveAutomaticallyAlarm
()
self
.
tic
()
self
.
stepCallVifibExpandDeliveryLineAlarm
()
self
.
tic
()
self
.
stepCall
Vifib
TriggerBuildAlarm
()
self
.
stepCall
Slapos
TriggerBuildAlarm
()
self
.
tic
()
self
.
stepCall
Vifib
UpdateDeliveryCausalityStateAlarm
()
self
.
stepCall
Slapos
UpdateDeliveryCausalityStateAlarm
()
self
.
tic
()
self
.
stepCallVifibSolveAutomaticallyAlarm
()
self
.
tic
()
self
.
stepCallVifibExpandDeliveryLineAlarm
()
self
.
tic
()
self
.
stepCall
Vifib
TriggerBuildAlarm
()
self
.
stepCall
Slapos
TriggerBuildAlarm
()
self
.
tic
()
self
.
stepCall
Vifib
UpdateDeliveryCausalityStateAlarm
()
self
.
stepCall
Slapos
UpdateDeliveryCausalityStateAlarm
()
self
.
tic
()
self
.
stepCallVifibSolveAutomaticallyAlarm
()
self
.
tic
()
...
...
@@ -259,9 +259,9 @@ class testVifibMixin(ERP5TypeTestCase):
self
.
tic
()
self
.
stepCallVifibExpandDeliveryLineAlarm
()
self
.
tic
()
self
.
stepCall
Vifib
TriggerBuildAlarm
()
self
.
stepCall
Slapos
TriggerBuildAlarm
()
self
.
tic
()
self
.
stepCall
Vifib
UpdateDeliveryCausalityStateAlarm
()
self
.
stepCall
Slapos
UpdateDeliveryCausalityStateAlarm
()
self
.
tic
()
self
.
stepCallVifibSolveAutomaticallyAlarm
()
self
.
tic
()
...
...
master/product/Vifib/tests/testVifibDefaultUseCase.py
View file @
58496859
...
...
@@ -1048,7 +1048,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
CheckRegistrationAccounting
\
PayPayment
\
Tic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1067,9 +1067,9 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1077,9 +1077,9 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1104,11 +1104,11 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
Tic
\
Logout
\
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
CallStopConfirmedSaleInvoiceTransactionAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
\
LoginWebUser
\
...
...
@@ -1129,9 +1129,9 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
CheckOpenOrderLineRemoved
\
Logout
\
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1146,11 +1146,11 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
\
SlapLogout
\
Tic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1158,9 +1158,9 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1176,7 +1176,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
Tic
\
PayPayment
\
Tic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1392,9 +1392,9 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
Tic
\
SlapLogout
\
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1402,9 +1402,9 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1517,9 +1517,9 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1527,9 +1527,9 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
View file @
58496859
...
...
@@ -568,13 +568,13 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
self
.
prepare_installed_computer_partition_sequence_string
+
\
"""
LoginDefaultUser
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
Tic
CheckSubscriptionSalePackingListCoverage
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
Tic
Call
Vifib
UpdateDeliveryCausalityStateAlarm
Call
Slapos
UpdateDeliveryCausalityStateAlarm
CleanTic
CallVifibSolveAutomaticallyAlarm
CleanTic
...
...
@@ -588,7 +588,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
SelectNextSubscriptionDelivery
Tic
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
Tic
CheckHostingSubscriptionStoppedDocumentCoverage
...
...
@@ -615,7 +615,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
# SelectNextSubscriptionDelivery
# Tic
#
# Call
Vifib
TriggerBuildAlarm
# Call
Slapos
TriggerBuildAlarm
# Tic
#
# CheckHostingSubscriptionConfirmedInvoiceDocumentCoverage
...
...
@@ -626,7 +626,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
# StopInvoice
# Tic
#
# Call
Vifib
TriggerBuildAlarm
# Call
Slapos
TriggerBuildAlarm
# Tic
#
# CheckHostingSubscriptionStoppedInvoiceDocumentCoverage
...
...
@@ -641,7 +641,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
# Tic
#
# # Payment should cover both invoices
# Call
Vifib
TriggerBuildAlarm
# Call
Slapos
TriggerBuildAlarm
# Tic
#
# CheckHostingSubscriptionTwoStoppedInvoiceDocumentCoverage
...
...
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
View file @
58496859
...
...
@@ -182,9 +182,9 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
self
.
prepare_installed_computer_partition_sequence_string
+
"""
LoginERP5TypeTestCase
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
CleanTic
Call
Vifib
UpdateDeliveryCausalityStateAlarm
Call
Slapos
UpdateDeliveryCausalityStateAlarm
CleanTic
CallVifibSolveAutomaticallyAlarm
CleanTic
...
...
master/product/Vifib/tests/testVifibSlapBug.py
View file @
58496859
...
...
@@ -16,7 +16,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
\
CallSlaposAllocateInstanceAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
...
...
@@ -1542,11 +1542,11 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
LoginERP5TypeTestCase
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
Tic
CallStopConfirmedSaleInvoiceTransactionAlarm
Tic
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
Tic
PayPayment
Tic
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
View file @
58496859
...
...
@@ -8,11 +8,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
lock_user_sequence_string
=
'
\
LoginERP5TypeTestCase
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
Tic
\
CallStopConfirmedSaleInvoiceTransactionAlarm
\
Tic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
Tic
\
Logout'
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
58496859
...
...
@@ -898,23 +898,23 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
# stabilise accounting until payment is reached
stabilise_accounting
=
"""
Call
Vifib
UpdateDeliveryCausalityStateAlarm
Call
Slapos
UpdateDeliveryCausalityStateAlarm
CleanTic
CallVifibSolveAutomaticallyAlarm
CleanTic
CallVifibExpandDeliveryLineAlarm
CleanTic
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
CleanTic
Call
Vifib
UpdateDeliveryCausalityStateAlarm
Call
Slapos
UpdateDeliveryCausalityStateAlarm
CleanTic
CallVifibSolveAutomaticallyAlarm
CleanTic
CallVifibExpandDeliveryLineAlarm
CleanTic
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
CleanTic
Call
Vifib
UpdateDeliveryCausalityStateAlarm
Call
Slapos
UpdateDeliveryCausalityStateAlarm
CleanTic
CallVifibSolveAutomaticallyAlarm
CleanTic
...
...
@@ -922,9 +922,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
CleanTic
CallVifibExpandDeliveryLineAlarm
CleanTic
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
CleanTic
Call
Vifib
UpdateDeliveryCausalityStateAlarm
Call
Slapos
UpdateDeliveryCausalityStateAlarm
CleanTic
CallVifibSolveAutomaticallyAlarm
CleanTic
...
...
@@ -1002,7 +1002,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
LoginDefaultUser
CallSlaposAllocateInstanceAlarm
Tic
Call
Vifib
TriggerBuildAlarm
Call
Slapos
TriggerBuildAlarm
CleanTic
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
...
...
@@ -1195,17 +1195,17 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
LoginERP5TypeTestCase
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1213,11 +1213,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -1238,9 +1238,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
CleanTic
\
CallVifibExpandConfirmedSaleOrderAlarm
\
CleanTic
\
Call
Vifib
TriggerBuildAlarm
\
Call
Slapos
TriggerBuildAlarm
\
CleanTic
\
Call
Vifib
UpdateDeliveryCausalityStateAlarm
\
Call
Slapos
UpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallVifibSolveAutomaticallyAlarm
\
CleanTic
\
...
...
@@ -3302,7 +3302,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
CheckPersonUpdatedCredential
Logout
Call
Vifib
UpdateDeliveryCausalityStateAlarm
Call
Slapos
UpdateDeliveryCausalityStateAlarm
CleanTic
CallVifibSolveAutomaticallyAlarm
...
...
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