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
Paul Graydon
slapos.core
Commits
09975c7c
Commit
09975c7c
authored
Apr 16, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into payzen-fixup
Conflicts: master/bt5/vifib_base/bt/revision
parents
0ce13c5c
3249160b
Changes
47
Show whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
1314 additions
and
266 deletions
+1314
-266
master/bt5/vifib_agent/SkinTemplateItem/portal_skins/vifib_agent.xml
...vifib_agent/SkinTemplateItem/portal_skins/vifib_agent.xml
+21
-0
master/bt5/vifib_agent/bt/revision
master/bt5/vifib_agent/bt/revision
+1
-1
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_expand_confirmed_sale_order.xml
...eItem/portal_alarms/vifib_expand_confirmed_sale_order.xml
+91
-0
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_expand_delivery_line.xml
...TemplateItem/portal_alarms/vifib_expand_delivery_line.xml
+91
-0
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_update_delivery_causality_state.xml
...m/portal_alarms/vifib_update_delivery_causality_state.xml
+91
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_expandConfirmedSaleOrder.xml
...skins/vifib_simulation/Alarm_expandConfirmedSaleOrder.xml
+91
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_expandDeliveryLine.xml
...ortal_skins/vifib_simulation/Alarm_expandDeliveryLine.xml
+111
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_updateCausalityState.xml
...tal_skins/vifib_simulation/Alarm_updateCausalityState.xml
+78
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Base_getNotCategoryRelatedList.xml
...skins/vifib_simulation/Base_getNotCategoryRelatedList.xml
+123
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Base_getNotSynchronisedSimulationStateCategoryRelatedList.xml
..._getNotSynchronisedSimulationStateCategoryRelatedList.xml
+126
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/DeliveryLine_updateAppliedRule.xml
...skins/vifib_simulation/DeliveryLine_updateAppliedRule.xml
+70
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Delivery_updateCausalityState.xml
..._skins/vifib_simulation/Delivery_updateCausalityState.xml
+72
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibInvoiceTransaction_postGeneration.xml
...fib_simulation/VifibInvoiceTransaction_postGeneration.xml
+3
-5
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibPaymentTransaction_postGeneration.xml
...fib_simulation/VifibPaymentTransaction_postGeneration.xml
+0
-4
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibSalePackingList_postGeneration.xml
.../vifib_simulation/VifibSalePackingList_postGeneration.xml
+0
-4
master/bt5/vifib_base/bt/revision
master/bt5/vifib_base/bt/revision
+1
-1
master/bt5/vifib_base/bt/template_path_list
master/bt5/vifib_base/bt/template_path_list
+3
-0
master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Computer.xml
...r/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Computer.xml
+5
-0
master/bt5/vifib_erp5/TestTemplateItem/testVifibUserAdmin.py
master/bt5/vifib_erp5/TestTemplateItem/testVifibUserAdmin.py
+4
-4
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
master/bt5/vifib_slap/PathTemplateItem/portal_alarms/vifib_trigger_build.xml
...ap/PathTemplateItem/portal_alarms/vifib_trigger_build.xml
+1
-1
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
...lateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
+1
-0
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_stopConfirmedSaleInvoiceTransaction.xml
.../vifib_slap/Alarm_stopConfirmedSaleInvoiceTransaction.xml
+1
-0
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SaleInvoiceTransaction_stopConfirmed.xml
...skins/vifib_slap/SaleInvoiceTransaction_stopConfirmed.xml
+1
-1
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SimulationMovement_buildVifib.xml
...portal_skins/vifib_slap/SimulationMovement_buildVifib.xml
+12
-2
master/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/slap_interaction_workflow/scripts/Person_createRegistrationInvoice.xml
...ion_workflow/scripts/Person_createRegistrationInvoice.xml
+0
-1
master/bt5/vifib_slap/bt/revision
master/bt5/vifib_slap/bt/revision
+1
-1
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewVifibKVMOrder/your_login_button.xml
...osting/WebSection_viewVifibKVMOrder/your_login_button.xml
+1
-1
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewVifibKVMOrder/your_order_button.xml
...osting/WebSection_viewVifibKVMOrder/your_order_button.xml
+1
-1
master/product/Vifib/tests/VifibMixin.py
master/product/Vifib/tests/VifibMixin.py
+26
-9
master/product/Vifib/tests/testVifibDefaultUseCase.py
master/product/Vifib/tests/testVifibDefaultUseCase.py
+70
-26
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
...ct/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
+20
-17
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
+10
-2
master/product/Vifib/tests/testVifibSkinSelection.py
master/product/Vifib/tests/testVifibSkinSelection.py
+10
-0
master/product/Vifib/tests/testVifibSlapAllocationScope.py
master/product/Vifib/tests/testVifibSlapAllocationScope.py
+21
-21
master/product/Vifib/tests/testVifibSlapBang.py
master/product/Vifib/tests/testVifibSlapBang.py
+17
-17
master/product/Vifib/tests/testVifibSlapBug.py
master/product/Vifib/tests/testVifibSlapBug.py
+22
-22
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
...ib/tests/testVifibSlapComputerGetComputerPartitionList.py
+5
-2
master/product/Vifib/tests/testVifibSlapComputerPartitionConnection.py
...t/Vifib/tests/testVifibSlapComputerPartitionConnection.py
+1
-1
master/product/Vifib/tests/testVifibSlapComputerPartitionGetState.py
...uct/Vifib/tests/testVifibSlapComputerPartitionGetState.py
+4
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
...product/Vifib/tests/testVifibSlapComputerPartitionLock.py
+5
-5
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
...duct/Vifib/tests/testVifibSlapComputerPartitionRequest.py
+28
-28
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
...oduct/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
+2
-2
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
+4
-4
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+33
-48
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
...oduct/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
+33
-33
master/product/Vifib/tests/testVifibUsageReport.py
master/product/Vifib/tests/testVifibUsageReport.py
+1
-1
No files found.
master/bt5/vifib_agent/SkinTemplateItem/portal_skins/vifib_agent.xml
View file @
09975c7c
...
@@ -6,12 +6,33 @@
...
@@ -6,12 +6,33 @@
</pickle>
</pickle>
<pickle>
<pickle>
<dictionary>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<item>
<key>
<string>
_objects
</string>
</key>
<key>
<string>
_objects
</string>
</key>
<value>
<value>
<tuple/>
<tuple/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
60.0
</float>
</value>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_agent
</string>
</value>
<value>
<string>
vifib_agent
</string>
</value>
...
...
master/bt5/vifib_agent/bt/revision
View file @
09975c7c
2
3
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_expand_confirmed_sale_order.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Alarm"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
active_sense_method_id
</string>
</key>
<value>
<string>
Alarm_expandConfirmedSaleOrder
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_expand_confirmed_sale_order
</string>
</value>
</item>
<item>
<key>
<string>
periodicity_hour
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_minute
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_minute_frequency
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
periodicity_month
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_month_day
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_start_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
575131320.0
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
periodicity_week
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Alarm
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Expands Confirmed Sale Orders
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_expand_delivery_line.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Alarm"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
active_sense_method_id
</string>
</key>
<value>
<string>
Alarm_expandDeliveryLine
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_expand_delivery_line
</string>
</value>
</item>
<item>
<key>
<string>
periodicity_hour
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_minute
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_minute_frequency
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
periodicity_month
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_month_day
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_start_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
306081720.0
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
periodicity_week
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Alarm
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Expands delivery lines, which need to be expanded
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/PathTemplateItem/portal_alarms/vifib_update_delivery_causality_state.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Alarm"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
active_sense_method_id
</string>
</key>
<value>
<string>
Alarm_updateCausalityState
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
vifib_update_delivery_causality_state
</string>
</value>
</item>
<item>
<key>
<string>
periodicity_hour
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_minute
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_minute_frequency
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
periodicity_month
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_month_day
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_start_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
323620920.0
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
periodicity_week
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Alarm
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Updates delivery\'s causality state
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_expandConfirmedSaleOrder.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
portal = context.getPortalObject()\n
activate_kw = {\n
\'tag\': tag\n
}\n
path_list = [q.getPath() for q in portal.Base_getNotCategoryRelatedList(\n
portal_type_list=[\'Sale Order Line\'],\n
simulation_state_list=[\'confirmed\'],\n
base_category_uid=portal.portal_categories.delivery.getUid())]\n
\n
if len(path_list) >
0:\n
portal.portal_catalog.searchAndActivate(\n
path=path_list,\n
activate_kw=activate_kw,\n
packet_size=1, # Separate calls to many transactions\n
method_id=\'DeliveryLine_updateAppliedRule\',\n
method_kw={\'activate_kw\': activate_kw, \'kw\': {\'activate_kw\': activate_kw}},\n
)\n
\n
# register activity on alarm object waiting for own tag in order to have only one alarm\n
# running in same time\n
context.activate(after_tag=tag).getId()\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
tag, fixit, params
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Alarm_expandConfirmedSaleOrder
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_expandDeliveryLine.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
portal = context.getPortalObject()\n
\n
activate_kw = {\n
\'tag\': tag\n
}\n
simulation_state_list = portal.getPortalCurrentInventoryStateList() + \\\n
portal.getPortalTransitInventoryStateList() + portal.getPortalPlannedOrderStateList() + \\\n
portal.getPortalReservedInventoryStateList() + portal.getPortalFutureInventoryStateList()\n
kw = dict(\n
portal_type_list=[\'Sale Packing List Line\', \'Invoice Line\', \'Accounting Transaction Line\', \'Sale Invoice Transaction Line\'],\n
simulation_state_list=simulation_state_list,\n
base_category_uid=portal.portal_categories.delivery.getUid()\n
)\n
path_list = set()\n
\n
for q in portal.Base_getNotCategoryRelatedList(**kw):\n
path_list.add(q.getPath())\n
\n
for q in portal.Base_getNotSynchronisedSimulationStateCategoryRelatedList(**kw):\n
path_list.add(q.getPath())\n
\n
# and all invoice lines and and transcation lines in confirmed state\n
# XXX: We do simple version, and in Vifib confirmed ones can be often expanded, as it is short living state\n
\n
for q in portal.portal_catalog(portal_type=\'Invoice Line\', simulation_state=\'confirmed\'):\n
if q.getSimulationState() == \'confirmed\':\n
path_list.add(q.getPath())\n
path_list = list(path_list)\n
\n
if len(path_list) >
0:\n
portal.portal_catalog.searchAndActivate(\n
path=path_list,\n
packet_size=1, # Separate calls to many transactions\n
activate_kw=activate_kw,\n
method_id=\'DeliveryLine_updateAppliedRule\',\n
method_kw={\'activate_kw\': activate_kw, \'kw\': {\'activate_kw\': activate_kw}},\n
)\n
\n
# register activity on alarm object waiting for own tag in order to have only one alarm\n
# running in same time\n
context.activate(after_tag=tag).getId()\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
tag, fixit, params
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Alarm_expandDeliveryLine
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Alarm_updateCausalityState.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
portal = context.getPortalObject()\n
activate_kw = {\n
\'tag\': tag\n
}\n
portal.portal_catalog.searchAndActivate(\n
portal_type=portal.getPortalDeliveryTypeList(),\n
causality_state=(\'building\', \'calculating\'),\n
activate_kw=activate_kw,\n
packet_size=1, # Separate calls to many transactions\n
method_id=\'Delivery_updateCausalityState\'\n
)\n
context.activate(after_tag=tag).getId()\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
tag, fixit, params
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Alarm_updateCausalityState
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Base_getNotCategoryRelatedList.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL"
module=
"Products.ZSQLMethods.SQL"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_col
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
uid
</string>
</value>
</item>
<item>
<key>
<string>
null
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
l
</string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
7
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
path
</string>
</value>
</item>
<item>
<key>
<string>
null
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
t
</string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
41
</int>
</value>
</item>
</dictionary>
</list>
</value>
</item>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
portal_type_list\r\n
simulation_state_list\r\n
base_category_uid\r\n
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string>
ZSQLCatalog.zsqlbrain
</string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string>
ZSQLBrain
</string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_getNotCategoryRelatedList
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
select\n
catalog.uid, catalog.path from catalog\n
where\n
catalog.uid not in (\n
select category.category_uid from category where category.base_category_uid=<dtml-var base_category_uid>
)\n
and (
<dtml-in
simulation_state_list
>
\n
catalog.simulation_state=
<dtml-sqlvar
sequence-item
type=
"string"
><dtml-if
sequence-end
><dtml-else>
OR
</dtml-if>
\n
</dtml-in>
)\n
and (
<dtml-in
portal_type_list
>
\n
catalog.portal_type=
<dtml-sqlvar
sequence-item
type=
"string"
><dtml-if
sequence-end
><dtml-else>
OR
</dtml-if>
\n
</dtml-in>
)\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Base_getNotSynchronisedSimulationStateCategoryRelatedList.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"SQL"
module=
"Products.ZSQLMethods.SQL"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_col
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
uid
</string>
</value>
</item>
<item>
<key>
<string>
null
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
l
</string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
7
</int>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
path
</string>
</value>
</item>
<item>
<key>
<string>
null
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
t
</string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
41
</int>
</value>
</item>
</dictionary>
</list>
</value>
</item>
<item>
<key>
<string>
allow_simple_one_argument_traversal
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
arguments_src
</string>
</key>
<value>
<string>
portal_type_list\r\n
simulation_state_list\r\n
base_category_uid\r\n
</string>
</value>
</item>
<item>
<key>
<string>
cache_time_
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
class_file_
</string>
</key>
<value>
<string>
ZSQLCatalog.zsqlbrain
</string>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<string>
ZSQLBrain
</string>
</value>
</item>
<item>
<key>
<string>
connection_hook
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
connection_id
</string>
</key>
<value>
<string>
erp5_sql_connection
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Base_getNotSynchronisedSimulationStateCategoryRelatedList
</string>
</value>
</item>
<item>
<key>
<string>
max_cache_
</string>
</key>
<value>
<int>
100
</int>
</value>
</item>
<item>
<key>
<string>
max_rows_
</string>
</key>
<value>
<int>
1000
</int>
</value>
</item>
<item>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
select\n
catalog.uid, catalog.path from catalog, catalog as simulation_movement, category\n
where\n
category.base_category_uid=<dtml-var base_category_uid>
AND\n
category.category_uid = catalog.uid AND\n
simulation_movement.uid = category.uid AND\n
simulation_movement.simulation_state
<
> catalog.simulation_state and\n
simulation_movement.portal_type=\'Simulation Movement\'\n
and (
<dtml-in
simulation_state_list
>
\n
catalog.simulation_state=
<dtml-sqlvar
sequence-item
type=
"string"
><dtml-if
sequence-end
><dtml-else>
OR
</dtml-if>
\n
</dtml-in>
)\n
and (
<dtml-in
portal_type_list
>
\n
catalog.portal_type=
<dtml-sqlvar
sequence-item
type=
"string"
><dtml-if
sequence-end
><dtml-else>
OR
</dtml-if>
\n
</dtml-in>
)\n
]]>
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/DeliveryLine_updateAppliedRule.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
delivery = context.getParentValue()\n
if context.getPortalObject().portal_activities.countMessage(path=delivery.getPath()) == 0:\n
delivery.serialize()\n
delivery.Delivery_updateAppliedRule(activate_kw=activate_kw, **kw)\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
activate_kw, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
DeliveryLine_updateAppliedRule
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/Delivery_updateCausalityState.xml
0 → 100644
View file @
09975c7c
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
delivery = context\n
if delivery.getCausalityState() not in (\'building\', \'calculating\'):\n
return\n
\n
if context.getPortalObject().portal_activities.countMessage(path=delivery.getPath()) == 0:\n
delivery.updateCausalityState()\n
</string>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Delivery_updateCausalityState
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibInvoiceTransaction_postGeneration.xml
View file @
09975c7c
...
@@ -73,11 +73,6 @@ tag = \'%s_plan\' % invoice.getPath()\n
...
@@ -73,11 +73,6 @@ tag = \'%s_plan\' % invoice.getPath()\n
if invoice.getSimulationState() == \'draft\':\n
if invoice.getSimulationState() == \'draft\':\n
invoice.plan(comment=translateString(\'Initialised by Delivery Builder.\'), activate_kw={\'tag\': tag})\n
invoice.plan(comment=translateString(\'Initialised by Delivery Builder.\'), activate_kw={\'tag\': tag})\n
\n
\n
# Update causality workflow\n
if invoice.getPortalObject().portal_workflow.isTransitionPossible(invoice, \'start_building\'):\n
invoice.startBuilding()\n
invoice.updateCausalityState()\n
\n
# update specialise from movements\n
# update specialise from movements\n
specialise_list = invoice.getSpecialiseList()\n
specialise_list = invoice.getSpecialiseList()\n
specialise_list.sort()\n
specialise_list.sort()\n
...
@@ -92,6 +87,9 @@ for movement in invoice.getMovementList(portal_type=\'Invoice Line\'):\n
...
@@ -92,6 +87,9 @@ for movement in invoice.getMovementList(portal_type=\'Invoice Line\'):\n
if modified:\n
if modified:\n
specialise_list.sort()\n
specialise_list.sort()\n
invoice.setSpecialiseList(specialise_list)\n
invoice.setSpecialiseList(specialise_list)\n
\n
if invoice.getPortalObject().portal_workflow.isTransitionPossible(invoice, \'start_building\'):\n
invoice.startBuilding()\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibPaymentTransaction_postGeneration.xml
View file @
09975c7c
...
@@ -61,10 +61,6 @@ if payment_transaction.getSimulationState() == "draft":\n
...
@@ -61,10 +61,6 @@ if payment_transaction.getSimulationState() == "draft":\n
# First set the payment transaction in the building state on the causality workflow\n
# First set the payment transaction in the building state on the causality workflow\n
payment_transaction.startBuilding()\n
payment_transaction.startBuilding()\n
\n
\n
# Then an activity should put the causality state in diverged or solved\n
payment_transaction.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
(\'immediateReindexObject\',\'recursiveImmediateReindexObject\'))).updateCausalityState()\n
\n
# update casuality from movements\n
# update casuality from movements\n
causality_list = payment_transaction.getCausalityList()\n
causality_list = payment_transaction.getCausalityList()\n
causality_list.sort()\n
causality_list.sort()\n
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_simulation/VifibSalePackingList_postGeneration.xml
View file @
09975c7c
...
@@ -71,10 +71,6 @@ packing_list.activate(after_path_and_method_id=(related_simulation_movement_path
...
@@ -71,10 +71,6 @@ packing_list.activate(after_path_and_method_id=(related_simulation_movement_path
\n
\n
# First set the packing_list in the building state\n
# First set the packing_list in the building state\n
packing_list.startBuilding()\n
packing_list.startBuilding()\n
# Then an activity should put the causality state in diverged or solved\n
packing_list.activate(after_path_and_method_id=(related_simulation_movement_path_list,\n
(\'immediateReindexObject\',\'recursiveImmediateReindexObject\')),\n
after_tag=confirm_tag).updateCausalityState()\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
...
master/bt5/vifib_base/bt/revision
View file @
09975c7c
423
429
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_base/bt/template_path_list
0 → 100644
View file @
09975c7c
portal_alarms/vifib_expand_confirmed_sale_order
portal_alarms/vifib_expand_delivery_line
portal_alarms/vifib_update_delivery_causality_state
\ No newline at end of file
master/bt5/vifib_erp5/PortalTypeRolesTemplateItem/Computer.xml
View file @
09975c7c
...
@@ -5,6 +5,11 @@
...
@@ -5,6 +5,11 @@
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<property
id=
'base_category_script'
>
ERP5Type_getSecurityCategoryFromContent
</property>
<multi_property
id=
'base_category'
>
source_administration
</multi_property>
<multi_property
id=
'base_category'
>
source_administration
</multi_property>
</role>
</role>
<role
id=
'Assignor'
>
<property
id=
'title'
>
Group company
</property>
<multi_property
id=
'category'
>
group/company
</multi_property>
<multi_property
id=
'base_category'
>
group
</multi_property>
</role>
<role
id=
'Auditor'
>
<role
id=
'Auditor'
>
<property
id=
'title'
>
Sale Trade Condition allocation
</property>
<property
id=
'title'
>
Sale Trade Condition allocation
</property>
<property
id=
'condition'
>
python: here.getAllocationScope('').startswith('open')
</property>
<property
id=
'condition'
>
python: here.getAllocationScope('').startswith('open')
</property>
...
...
master/bt5/vifib_erp5/TestTemplateItem/testVifibUserAdmin.py
View file @
09975c7c
...
@@ -101,7 +101,7 @@ class TestVifibUserAdmin(testVifibMixin):
...
@@ -101,7 +101,7 @@ class TestVifibUserAdmin(testVifibMixin):
# Deliver IPL
# Deliver IPL
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'confirm_action'
)
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'confirm_action'
)
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'stop_action'
)
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'stop_action'
)
self
.
assertEquals
(
'
building
'
,
internal_packing_list
.
getCausalityState
())
self
.
assertEquals
(
'
draft
'
,
internal_packing_list
.
getCausalityState
())
transaction
.
commit
()
transaction
.
commit
()
self
.
stepTic
()
self
.
stepTic
()
transaction
.
commit
()
transaction
.
commit
()
...
@@ -109,7 +109,7 @@ class TestVifibUserAdmin(testVifibMixin):
...
@@ -109,7 +109,7 @@ class TestVifibUserAdmin(testVifibMixin):
self
.
logout
()
self
.
logout
()
# Computer registration has to be validated by a Vifib System Administrator
# Computer registration has to be validated by a Vifib System Administrator
self
.
login
(
user_name
=
'test_vifib_admin'
)
self
.
login
(
user_name
=
'test_vifib_admin'
)
self
.
assertEquals
(
'
solved
'
,
internal_packing_list
.
getCausalityState
())
self
.
assertEquals
(
'
draft
'
,
internal_packing_list
.
getCausalityState
())
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'deliver_action'
)
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'deliver_action'
)
self
.
logout
()
self
.
logout
()
...
@@ -169,7 +169,7 @@ class TestVifibUserAdmin(testVifibMixin):
...
@@ -169,7 +169,7 @@ class TestVifibUserAdmin(testVifibMixin):
# Deliver IPL
# Deliver IPL
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'confirm_action'
)
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'confirm_action'
)
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'stop_action'
)
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'stop_action'
)
self
.
assertEquals
(
'
building
'
,
internal_packing_list
.
getCausalityState
())
self
.
assertEquals
(
'
draft
'
,
internal_packing_list
.
getCausalityState
())
transaction
.
commit
()
transaction
.
commit
()
self
.
stepTic
()
self
.
stepTic
()
transaction
.
commit
()
transaction
.
commit
()
...
@@ -177,7 +177,7 @@ class TestVifibUserAdmin(testVifibMixin):
...
@@ -177,7 +177,7 @@ class TestVifibUserAdmin(testVifibMixin):
self
.
logout
()
self
.
logout
()
# Computer registration has to be validated by a Vifib System Administrator
# Computer registration has to be validated by a Vifib System Administrator
self
.
login
(
user_name
=
'test_vifib_admin'
)
self
.
login
(
user_name
=
'test_vifib_admin'
)
self
.
assertEquals
(
'
solved
'
,
internal_packing_list
.
getCausalityState
())
self
.
assertEquals
(
'
draft
'
,
internal_packing_list
.
getCausalityState
())
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'deliver_action'
)
internal_packing_list
.
portal_workflow
.
doActionFor
(
internal_packing_list
,
'deliver_action'
)
self
.
logout
()
self
.
logout
()
...
...
master/bt5/vifib_erp5/bt/revision
View file @
09975c7c
413
415
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_slap/PathTemplateItem/portal_alarms/vifib_trigger_build.xml
View file @
09975c7c
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
12938400
00.0
</float>
<float>
5488128
00.0
</float>
<string>
GMT
</string>
<string>
GMT
</string>
</tuple>
</tuple>
</state>
</state>
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
View file @
09975c7c
...
@@ -61,6 +61,7 @@ kw.update(\n
...
@@ -61,6 +61,7 @@ kw.update(\n
\n
\n
context.getPortalObject().portal_catalog.searchAndActivate(\n
context.getPortalObject().portal_catalog.searchAndActivate(\n
method_id=\'SimulationMovement_buildVifib\',\n
method_id=\'SimulationMovement_buildVifib\',\n
packet_size=1, # Separate calls to many transactions\n
method_kw={\'tag\': tag},\n
method_kw={\'tag\': tag},\n
activate_kw={\'tag\': tag},\n
activate_kw={\'tag\': tag},\n
**kw\n
**kw\n
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_stopConfirmedSaleInvoiceTransaction.xml
View file @
09975c7c
...
@@ -57,6 +57,7 @@ portal = context.getPortalObject()\n
...
@@ -57,6 +57,7 @@ portal = context.getPortalObject()\n
portal.portal_catalog.searchAndActivate(\n
portal.portal_catalog.searchAndActivate(\n
portal_type=\'Sale Invoice Transaction\',\n
portal_type=\'Sale Invoice Transaction\',\n
simulation_state=\'confirmed\',\n
simulation_state=\'confirmed\',\n
causality_state=\'solved\',\n
method_id=\'SaleInvoiceTransaction_stopConfirmed\',\n
method_id=\'SaleInvoiceTransaction_stopConfirmed\',\n
activate_kw={\'tag\': tag}\n
activate_kw={\'tag\': tag}\n
)\n
)\n
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SaleInvoiceTransaction_stopConfirmed.xml
View file @
09975c7c
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
isTransitionPossible = context.getPortalObject().portal_workflow.isTransitionPossible\n
<value>
<string>
isTransitionPossible = context.getPortalObject().portal_workflow.isTransitionPossible\n
if context.getSimulationState() == \'confirmed\' and len(context.checkConsistency()) == 0:\n
if context.getSimulationState() == \'confirmed\' and len(context.checkConsistency()) == 0
and context.getCausalityState() == \'solved\'
:\n
if isTransitionPossible(context, \'start\'):\n
if isTransitionPossible(context, \'start\'):\n
context.start()\n
context.start()\n
if isTransitionPossible(context, \'stop\'):\n
if isTransitionPossible(context, \'stop\'):\n
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/SimulationMovement_buildVifib.xml
View file @
09975c7c
...
@@ -50,13 +50,23 @@
...
@@ -50,13 +50,23 @@
</item>
</item>
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
if context.getDelivery() is not None:\n
<value>
<string>
"""\n
Take care!\n
\n
This method does not lock in same transaction, as it locks on two different documents (and only on those two)\n
"""\n
if context.getDelivery() is not None:\n
# movement build but not indexed, so do nothing\n
# movement build but not indexed, so do nothing\n
return\n
return\n
\n
\n
root_applied_rule = context.getRootAppliedRule()\n
root_applied_rule = context.getRootAppliedRule()\n
\n
\n
context.getCausalityValue(portal_type=\'Business Link\').build(path=\'%s/%%\' % root_applied_rule.getPath(), activate_kw={\'tag\': tag})\n
business_link = context.getCausalityValue(portal_type=\'Business Link\')\n
explanation = context.getImmediateExplanationValue()\n
lock_tag = \'build_in_progress_%s_%s\' % (explanation.getUid(), business_link.getUid())\n
if context.getPortalObject().portal_activities.countMessageWithTag(lock_tag) == 0:\n
business_link.build(explanation=explanation, activate_kw={\'tag\': tag})\n
explanation.activate(activity=\'SQLQueue\', after_tag=tag, tag=lock_tag).getId()\n
</string>
</value>
</string>
</value>
</item>
</item>
<item>
<item>
...
...
master/bt5/vifib_slap/WorkflowTemplateItem/portal_workflow/slap_interaction_workflow/scripts/Person_createRegistrationInvoice.xml
View file @
09975c7c
...
@@ -92,7 +92,6 @@ if invoice_line is None:\n
...
@@ -92,7 +92,6 @@ if invoice_line is None:\n
\n
\n
# force tracking causality state\n
# force tracking causality state\n
invoice.startBuilding()\n
invoice.startBuilding()\n
invoice.updateCausalityState()\n
invoice.plan(**kw)\n
invoice.plan(**kw)\n
invoice.confirm(**kw)\n
invoice.confirm(**kw)\n
</string>
</value>
</string>
</value>
...
...
master/bt5/vifib_slap/bt/revision
View file @
09975c7c
691
695
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewVifibKVMOrder/your_login_button.xml
View file @
09975c7c
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
<div
class=
"alignr"
style=
"background-color: white; float: right; width: 250px;"
>
\n
<div
class=
"alignr"
style=
"background-color: white; float: right; width: 250px;"
>
\n
<table
cellpadding=
0
cellspacing=
0
width=
100%
align=
center
>
\n
<table
cellpadding=
0
cellspacing=
0
width=
100%
align=
center
>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><h2>
Get a Virtual Machine from Vifib
</h2></td></tr>
\n
<tr><td
align=
center
><h2>
Get a Virtual Machine from Vifib
for 1€/month
</h2></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><img
src=
"vifib.kvm?format=png&display=xsmall"
></td></tr>
\n
<tr><td
align=
center
><img
src=
"vifib.kvm?format=png&display=xsmall"
></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
...
...
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewVifibKVMOrder/your_order_button.xml
View file @
09975c7c
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
<div
class=
"alignr"
style=
"background-color: white; float: right; width: 250px;"
>
\n
<div
class=
"alignr"
style=
"background-color: white; float: right; width: 250px;"
>
\n
<table
cellpadding=
0
cellspacing=
0
width=
100%
align=
center
>
\n
<table
cellpadding=
0
cellspacing=
0
width=
100%
align=
center
>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><h2>
Get a Virtual Machine from Vifib
</h2></td></tr>
\n
<tr><td
align=
center
><h2>
Get a Virtual Machine from Vifib
for 1€/month
</h2></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><img
src=
"vifib.kvm?format=png&display=xsmall"
></td></tr>
\n
<tr><td
align=
center
><img
src=
"vifib.kvm?format=png&display=xsmall"
></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
<tr><td
align=
center
><br></td></tr>
\n
...
...
master/product/Vifib/tests/VifibMixin.py
View file @
09975c7c
...
@@ -33,6 +33,7 @@ from AccessControl.SecurityManagement import newSecurityManager, \
...
@@ -33,6 +33,7 @@ from AccessControl.SecurityManagement import newSecurityManager, \
from
Products.ERP5Type.tests.utils
import
DummyMailHost
from
Products.ERP5Type.tests.utils
import
DummyMailHost
import
os
import
os
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.Utils
import
convertToUpperCase
class
testVifibMixin
(
ERP5TypeTestCase
):
class
testVifibMixin
(
ERP5TypeTestCase
):
"""
"""
...
@@ -157,6 +158,22 @@ class testVifibMixin(ERP5TypeTestCase):
...
@@ -157,6 +158,22 @@ class testVifibMixin(ERP5TypeTestCase):
'01'
)
'01'
)
open
(
os
.
path
.
join
(
os
.
environ
[
'TEST_CA_PATH'
],
'index.txt'
),
'w'
).
write
(
''
)
open
(
os
.
path
.
join
(
os
.
environ
[
'TEST_CA_PATH'
],
'index.txt'
),
'w'
).
write
(
''
)
def
createAlarmStep
(
self
):
def
makeCallAlarm
(
alarm
):
def
callAlarm
(
*
args
,
**
kwargs
):
sm
=
getSecurityManager
()
self
.
login
()
try
:
alarm
.
activeSense
()
transaction
.
commit
()
finally
:
setSecurityManager
(
sm
)
return
callAlarm
for
alarm
in
self
.
portal
.
portal_alarms
.
contentValues
():
if
alarm
.
isEnabled
():
setattr
(
self
,
'stepCall'
+
convertToUpperCase
(
alarm
.
getId
())
\
+
'Alarm'
,
makeCallAlarm
(
alarm
))
def
afterSetUp
(
self
,
quiet
=
1
,
run
=
run_all_test
):
def
afterSetUp
(
self
,
quiet
=
1
,
run
=
run_all_test
):
"""
"""
Create ERP5 user.
Create ERP5 user.
...
@@ -176,6 +193,7 @@ class testVifibMixin(ERP5TypeTestCase):
...
@@ -176,6 +193,7 @@ class testVifibMixin(ERP5TypeTestCase):
self
.
portal
.
portal_caches
.
_p_changed
=
1
self
.
portal
.
portal_caches
.
_p_changed
=
1
transaction
.
commit
()
transaction
.
commit
()
self
.
portal
.
portal_caches
.
updateCache
()
self
.
portal
.
portal_caches
.
updateCache
()
self
.
createAlarmStep
()
if
getattr
(
self
.
portal
,
'set_up_once_called'
,
0
):
if
getattr
(
self
.
portal
,
'set_up_once_called'
,
0
):
return
return
else
:
else
:
...
@@ -343,14 +361,6 @@ class testVifibMixin(ERP5TypeTestCase):
...
@@ -343,14 +361,6 @@ class testVifibMixin(ERP5TypeTestCase):
def
stepLogout
(
self
,
**
kw
):
def
stepLogout
(
self
,
**
kw
):
self
.
logout
()
self
.
logout
()
def
stepTriggerBuild
(
self
,
**
kw
):
sm
=
getSecurityManager
()
self
.
login
()
try
:
self
.
portal
.
portal_alarms
.
vifib_trigger_build
.
activeSense
()
finally
:
setSecurityManager
(
sm
)
def
checkDivergency
(
self
):
def
checkDivergency
(
self
):
# there shall be no divergency
# there shall be no divergency
current_skin
=
self
.
app
.
REQUEST
.
get
(
'portal_skin'
,
'View'
)
current_skin
=
self
.
app
.
REQUEST
.
get
(
'portal_skin'
,
'View'
)
...
@@ -359,7 +369,14 @@ class testVifibMixin(ERP5TypeTestCase):
...
@@ -359,7 +369,14 @@ class testVifibMixin(ERP5TypeTestCase):
# clear cache
# clear cache
self
.
clearCache
()
self
.
clearCache
()
self
.
changeSkin
(
'RSS'
)
self
.
changeSkin
(
'RSS'
)
self
.
assertFalse
(
'to Solve'
in
self
.
portal
.
ERP5Site_viewWorklist
())
diverged_document_list
=
self
.
portal
.
portal_catalog
(
portal_type
=
self
.
portal
.
getPortalDeliveryTypeList
(),
causality_state
=
'!= solved'
)
self
.
assertFalse
(
'to Solve'
in
self
.
portal
.
ERP5Site_viewWorklist
(),
'There are unsolved deliveries: %s'
%
','
.
join
([
' '
.
join
((
q
.
getTitle
(),
q
.
getPath
(),
q
.
getCausalityState
()))
\
for
q
in
diverged_document_list
]))
finally
:
finally
:
self
.
changeSkin
(
current_skin
)
self
.
changeSkin
(
current_skin
)
...
...
master/product/Vifib/tests/testVifibDefaultUseCase.py
View file @
09975c7c
...
@@ -608,7 +608,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -608,7 +608,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
transaction_list
=
self
.
portal
.
portal_catalog
(
transaction_list
=
self
.
portal
.
portal_catalog
(
portal_type
=
"Sale Invoice Transaction"
,
portal_type
=
"Sale Invoice Transaction"
,
destination_section_relative_url
=
person
.
getRelativeUrl
(),
destination_section_relative_url
=
person
.
getRelativeUrl
(),
sort_on
=
((
'
uid'
,
'DESC'
)
),
sort_on
=
((
'
creation_date'
,
'DESC'
),
),
)
)
self
.
assertEquals
(
2
,
len
(
transaction_list
))
self
.
assertEquals
(
2
,
len
(
transaction_list
))
...
@@ -786,7 +786,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -786,7 +786,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
transaction_list
=
self
.
portal
.
portal_catalog
(
transaction_list
=
self
.
portal
.
portal_catalog
(
portal_type
=
"Sale Invoice Transaction"
,
portal_type
=
"Sale Invoice Transaction"
,
destination_section_relative_url
=
person
.
getRelativeUrl
(),
destination_section_relative_url
=
person
.
getRelativeUrl
(),
sort_on
=
((
'
uid'
,
'DESC'
)
),
sort_on
=
((
'
creation_date'
,
'DESC'
),
),
)
)
self
.
assertEquals
(
2
,
len
(
transaction_list
))
self
.
assertEquals
(
2
,
len
(
transaction_list
))
...
@@ -973,8 +973,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -973,8 +973,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
self
.
register_new_user_sequence_string
+
'
\
self
.
register_new_user_sequence_string
+
'
\
LoginWebUser
\
LoginWebUser
\
CheckRegistrationAccounting
\
CheckRegistrationAccounting
\
Logout
\
LoginDefaultUser
\
PayRegistrationPayment
\
PayRegistrationPayment
\
Tic
\
Tic
\
Logout
\
Logout
\
...
@@ -987,14 +985,20 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -987,14 +985,20 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
SoftwareInstanceAvailable
\
SoftwareInstanceAvailable
\
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
\
TriggerBuild
\
CallVifibTriggerBuildAlarm
\
Tic
\
CleanTic
\
TriggerStopConfirmedInvoiceAlarm
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
Tic
\
CleanTic
\
TriggerBuild
\
CallDeliverSubscriptionSalePackingListAlarm
\
Tic
\
CleanTic
\
Logout
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
\
LoginWebUser
\
LoginWebUser
\
CheckSetupOngoingInvoice
\
CheckSetupOngoingInvoice
\
RequestSoftwareInstanceStart
\
RequestSoftwareInstanceStart
\
...
@@ -1012,14 +1016,14 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -1012,14 +1016,14 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
SoftwareInstanceStopped
\
SoftwareInstanceStopped
\
Tic
\
Tic
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
\
TriggerBuild
\
CallVifibTriggerBuildAlarm
\
Tic
\
Clean
Tic
\
TriggerStopConfirmedInvoice
Alarm
\
CallStopConfirmedSaleInvoiceTransaction
Alarm
\
Tic
\
Clean
Tic
\
TriggerBuild
\
CallVifibTriggerBuildAlarm
\
Tic
\
Clean
Tic
\
Logout
\
\
LoginWebUser
\
LoginWebUser
\
CheckHostingOngoingInvoice
\
CheckHostingOngoingInvoice
\
\
\
...
@@ -1029,7 +1033,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -1029,7 +1033,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
SoftwareInstanceDestroyed
\
SoftwareInstanceDestroyed
\
Tic
\
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
\
\
LoginDefaultUser
\
LoginDefaultUser
\
...
@@ -1038,6 +1041,11 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -1038,6 +1041,11 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
CheckOpenOrderLineRemoved
\
CheckOpenOrderLineRemoved
\
Logout
\
Logout
\
\
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
\
LoginWebUser
\
LoginWebUser
\
CheckDestroyOngoingInvoice
\
CheckDestroyOngoingInvoice
\
SlapLogout
\
SlapLogout
\
...
@@ -1045,9 +1053,20 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -1045,9 +1053,20 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
ConfirmOngoingInvoice
\
ConfirmOngoingInvoice
\
Tic
\
Tic
\
Tic
\
\
SlapLogout
\
SlapLogout
\
Tic
\
Tic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallStopConfirmedSaleInvoiceTransactionAlarm
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
\
LoginWebUser
\
LoginWebUser
\
CheckWaitingInvoice
\
CheckWaitingInvoice
\
Tic
\
Tic
\
...
@@ -1071,7 +1090,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -1071,7 +1090,7 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
transaction_list
=
self
.
portal
.
portal_catalog
(
transaction_list
=
self
.
portal
.
portal_catalog
(
portal_type
=
"Sale Invoice Transaction"
,
portal_type
=
"Sale Invoice Transaction"
,
destination_section_relative_url
=
person
.
getRelativeUrl
(),
destination_section_relative_url
=
person
.
getRelativeUrl
(),
sort_on
=
((
'
uid'
,
'DESC'
)
),
sort_on
=
((
'
creation_date'
,
'DESC'
),
),
)
)
self
.
assertEquals
(
2
,
len
(
transaction_list
))
self
.
assertEquals
(
2
,
len
(
transaction_list
))
...
@@ -1251,8 +1270,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -1251,8 +1270,6 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
self
.
register_new_user_sequence_string
+
'
\
self
.
register_new_user_sequence_string
+
'
\
LoginWebUser
\
LoginWebUser
\
CheckRegistrationAccounting
\
CheckRegistrationAccounting
\
Logout
\
LoginDefaultUser
\
PayRegistrationPayment
\
PayRegistrationPayment
\
Tic
\
Tic
\
Logout
\
Logout
\
...
@@ -1265,6 +1282,19 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -1265,6 +1282,19 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
\
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallDeliverSubscriptionSalePackingListAlarm
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
\
LoginWebUser
\
LoginWebUser
\
RequestSoftwareInstanceStart
\
RequestSoftwareInstanceStart
\
Tic
\
Tic
\
...
@@ -1359,9 +1389,23 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
...
@@ -1359,9 +1389,23 @@ class TestVifibDefaultUseCase(TestVifibSlapWebServiceMixin):
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
ConfirmOngoingInvoice
\
ConfirmOngoingInvoice
\
Tic
\
Tic
\
Tic
\
\
SlapLogout
\
SlapLogout
\
Tic
\
Tic
\
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallStopConfirmedSaleInvoiceTransactionAlarm
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
\
LoginWebUser
\
LoginWebUser
\
PayRegistrationPayment
\
PayRegistrationPayment
\
Tic
\
Tic
\
...
...
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
View file @
09975c7c
...
@@ -567,12 +567,15 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
...
@@ -567,12 +567,15 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
self
.
prepare_installed_computer_partition_sequence_string
+
\
self
.
prepare_installed_computer_partition_sequence_string
+
\
"""
"""
LoginDefaultUser
LoginDefaultUser
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
Tic
CheckSubscriptionSalePackingListCoverage
CheckSubscriptionSalePackingListCoverage
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
Tic
CallVifibUpdateDeliveryCausalityStateAlarm
CleanTic
# Nothing shall change
# Nothing shall change
CheckHostingSubscriptionInitialDocumentCoverage
CheckHostingSubscriptionInitialDocumentCoverage
...
@@ -582,34 +585,34 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
...
@@ -582,34 +585,34 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
SelectNextSubscriptionDelivery
SelectNextSubscriptionDelivery
Tic
Tic
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
Tic
CheckHostingSubscriptionStoppedDocumentCoverage
CheckHostingSubscriptionStoppedDocumentCoverage
# proff that alarm will ignore this month invoices
# proff that alarm will ignore this month invoices
TriggerConfirmPlannedInvoice
Alarm
CallConfirmPlannedSaleInvoiceTransaction
Alarm
Tic
Tic
TriggerStopConfirmedInvoice
Alarm
CallStopConfirmedSaleInvoiceTransaction
Alarm
Tic
Tic
CheckHostingSubscriptionStoppedDocumentCoverage
CheckHostingSubscriptionStoppedDocumentCoverage
# Confirm current invoice and stop next delivery. After triggering build
# new planned invoice shall be available.
SelectPlannedInvoice
ConfirmInvoice
Tic
LoginERP5TypeTestCase
LoginERP5TypeTestCase
CheckSiteConsistency
CheckSiteConsistency
Logout
Logout
"""
"""
# # Confirm current invoice and stop next delivery. After triggering build
# # new planned invoice shall be available.
#
# SelectPlannedInvoice
# ConfirmInvoice
# Tic
#
# SelectNextSubscriptionDelivery
# SelectNextSubscriptionDelivery
# Tic
# Tic
#
#
#
TriggerBuild
#
CallVifibTriggerBuildAlarm
# Tic
# Tic
#
#
# CheckHostingSubscriptionConfirmedInvoiceDocumentCoverage
# CheckHostingSubscriptionConfirmedInvoiceDocumentCoverage
...
@@ -620,7 +623,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
...
@@ -620,7 +623,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
# StopInvoice
# StopInvoice
# Tic
# Tic
#
#
#
TriggerBuild
#
CallVifibTriggerBuildAlarm
# Tic
# Tic
#
#
# CheckHostingSubscriptionStoppedInvoiceDocumentCoverage
# CheckHostingSubscriptionStoppedInvoiceDocumentCoverage
...
@@ -629,13 +632,13 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
...
@@ -629,13 +632,13 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
# SelectPlannedInvoice
# SelectPlannedInvoice
# InvoiceSetStartDatePreviousMonth
# InvoiceSetStartDatePreviousMonth
# Tic
# Tic
#
TriggerConfirmPlannedInvoice
Alarm
#
CallConfirmPlannedSaleInvoiceTransaction
Alarm
# Tic
# Tic
#
TriggerStopConfirmedInvoice
Alarm
#
CallStopConfirmedSaleInvoiceTransaction
Alarm
# Tic
# Tic
#
#
# # Payment should cover both invoices
# # Payment should cover both invoices
#
TriggerBuild
#
CallVifibTriggerBuildAlarm
# Tic
# Tic
#
#
# CheckHostingSubscriptionTwoStoppedInvoiceDocumentCoverage
# CheckHostingSubscriptionTwoStoppedInvoiceDocumentCoverage
...
...
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
View file @
09975c7c
...
@@ -182,9 +182,17 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
...
@@ -182,9 +182,17 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
sequence_string
=
\
sequence_string
=
\
self
.
prepare_installed_computer_partition_sequence_string
+
"""
self
.
prepare_installed_computer_partition_sequence_string
+
"""
LoginERP5TypeTestCase
LoginERP5TypeTestCase
Tic # in order to update simulation
CallVifibTriggerBuildAlarm
CleanTic
CallVifibUpdateDeliveryCausalityStateAlarm
CleanTic
CallDeliverSubscriptionSalePackingListAlarm
CleanTic
CallVifibExpandDeliveryLineAlarm
CleanTic
CheckSimulationMovement
CheckSimulationMovement
Tic
SlapLogout
SlapLogout
LoginERP5TypeTestCase
LoginERP5TypeTestCase
...
...
master/product/Vifib/tests/testVifibSkinSelection.py
View file @
09975c7c
...
@@ -111,6 +111,7 @@ class TestVifibSkinSelection(testVifibMixin):
...
@@ -111,6 +111,7 @@ class TestVifibSkinSelection(testVifibMixin):
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_cash
vifib_cash
vifib_core
vifib_core
...
@@ -208,6 +209,7 @@ zpt_generic
...
@@ -208,6 +209,7 @@ zpt_generic
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
@@ -307,6 +309,7 @@ zpt_generic
...
@@ -307,6 +309,7 @@ zpt_generic
custom
custom
vifib_upgrader
vifib_upgrader
vifib_hosting
vifib_hosting
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
@@ -404,6 +407,7 @@ zpt_generic
...
@@ -404,6 +407,7 @@ zpt_generic
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
@@ -495,6 +499,7 @@ zpt_generic
...
@@ -495,6 +499,7 @@ zpt_generic
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
@@ -586,6 +591,7 @@ zpt_generic
...
@@ -586,6 +591,7 @@ zpt_generic
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
@@ -681,6 +687,7 @@ zpt_generic
...
@@ -681,6 +687,7 @@ zpt_generic
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
@@ -775,6 +782,7 @@ zpt_generic
...
@@ -775,6 +782,7 @@ zpt_generic
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
@@ -866,6 +874,7 @@ zpt_generic
...
@@ -866,6 +874,7 @@ zpt_generic
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
@@ -956,6 +965,7 @@ zpt_generic
...
@@ -956,6 +965,7 @@ zpt_generic
"""
"""
custom
custom
vifib_upgrader
vifib_upgrader
vifib_agent
vifib_base
vifib_base
vifib_core
vifib_core
vifib_crm
vifib_crm
...
...
master/product/Vifib/tests/testVifibSlapAllocationScope.py
View file @
09975c7c
...
@@ -105,7 +105,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -105,7 +105,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
# instantiate for owner
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -122,7 +122,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -122,7 +122,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for someone else
# fail to instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
Logout
...
@@ -135,7 +135,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -135,7 +135,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
# instantiate for owner
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -204,7 +204,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -204,7 +204,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
# instantiate for owner
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -221,7 +221,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -221,7 +221,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
# instantiate for friend
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -238,7 +238,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -238,7 +238,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for someone else
# fail to instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
Logout
...
@@ -251,7 +251,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -251,7 +251,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
# instantiate for friend
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -307,7 +307,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -307,7 +307,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
# instantiate for owner
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -324,7 +324,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -324,7 +324,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
# instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -379,7 +379,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -379,7 +379,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for owner
# fail to instantiate for owner
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
Logout
...
@@ -429,7 +429,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -429,7 +429,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# fail to instantiate for owner
# fail to instantiate for owner
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
Logout
...
@@ -481,7 +481,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -481,7 +481,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
# instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -499,7 +499,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -499,7 +499,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckSoftwareInstanceAndRelatedComputerPartition
CheckSoftwareInstanceAndRelatedComputerPartition
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
...
@@ -530,7 +530,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -530,7 +530,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
# instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -597,7 +597,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -597,7 +597,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for friend
# instantiate for friend
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -616,7 +616,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -616,7 +616,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
# instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -652,7 +652,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -652,7 +652,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckSoftwareInstanceAndRelatedComputerPartition
CheckSoftwareInstanceAndRelatedComputerPartition
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
...
@@ -683,7 +683,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -683,7 +683,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
# instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -727,7 +727,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -727,7 +727,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
# instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -804,7 +804,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -804,7 +804,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for owner
# instantiate for owner
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -821,7 +821,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -821,7 +821,7 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
# instantiate for someone else
# instantiate for someone else
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
...
master/product/Vifib/tests/testVifibSlapBang.py
View file @
09975c7c
...
@@ -25,7 +25,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -25,7 +25,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
root_software_instance
.
requestSoftwareInstance
(
partition_reference
=
S1
,
root_software_instance
.
requestSoftwareInstance
(
partition_reference
=
S1
,
**
common_kw
)
**
common_kw
)
self
.
stepTic
()
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
stepTic
()
S1_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
S1_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
...
@@ -33,13 +33,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -33,13 +33,13 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
S1_instance
.
requestSoftwareInstance
(
partition_reference
=
S2
,
**
common_kw
)
S1_instance
.
requestSoftwareInstance
(
partition_reference
=
S2
,
**
common_kw
)
self
.
stepTic
()
self
.
stepTic
()
S1_instance
.
requestSoftwareInstance
(
partition_reference
=
S3
,
**
common_kw
)
S1_instance
.
requestSoftwareInstance
(
partition_reference
=
S3
,
**
common_kw
)
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
stepTic
()
root_software_instance
.
requestSoftwareInstance
(
partition_reference
=
S4
,
root_software_instance
.
requestSoftwareInstance
(
partition_reference
=
S4
,
**
common_kw
)
**
common_kw
)
self
.
stepTic
()
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
stepTic
()
S2_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
S2_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
...
@@ -390,7 +390,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -390,7 +390,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
</instance>"""
%
sequence
[
'computer_reference_c1'
],
</instance>"""
%
sequence
[
'computer_reference_c1'
],
**
common_kw
)
**
common_kw
)
self
.
stepTic
()
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
stepTic
()
self
.
logout
()
self
.
logout
()
...
@@ -408,7 +408,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -408,7 +408,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
</instance>"""
%
sequence
[
'computer_reference_c0'
],
</instance>"""
%
sequence
[
'computer_reference_c0'
],
**
common_kw
)
**
common_kw
)
self
.
stepTic
()
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
stepTic
()
self
.
logout
()
self
.
logout
()
...
@@ -430,7 +430,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -430,7 +430,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
self
.
logout
()
self
.
logout
()
self
.
stepLoginDefaultUser
()
self
.
stepLoginDefaultUser
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
stepTic
()
S3_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
S3_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
'Software Instance'
,
title
=
S3
)
portal_type
=
'Software Instance'
,
title
=
S3
)
...
@@ -531,7 +531,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -531,7 +531,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Tic
Tic
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -661,7 +661,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -661,7 +661,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
partition_reference
=
S1
,
partition_reference
=
S1
,
**
common_kw
)
**
common_kw
)
self
.
stepTic
()
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
stepTic
()
self
.
logout
()
self
.
logout
()
...
@@ -782,7 +782,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -782,7 +782,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
Bang
Bang
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
SlapLogout
SlapLogout
Tic
Tic
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -874,7 +874,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -874,7 +874,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
RenameCurrentSoftwareInstanceDead
RenameCurrentSoftwareInstanceDead
Tic
Tic
Bang
Bang
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLogout
SlapLogout
...
@@ -898,7 +898,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -898,7 +898,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
...
@@ -910,7 +910,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -910,7 +910,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
...
@@ -996,7 +996,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -996,7 +996,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
Tic
Tic
RequestComputerPartition
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
...
@@ -1006,7 +1006,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -1006,7 +1006,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
RenameCurrentSoftwareInstanceDead
RenameCurrentSoftwareInstanceDead
Tic
Tic
Bang
Bang
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLogout
SlapLogout
...
@@ -1020,7 +1020,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -1020,7 +1020,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
...
@@ -1031,7 +1031,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -1031,7 +1031,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
...
@@ -1043,7 +1043,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -1043,7 +1043,7 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
...
...
master/product/Vifib/tests/testVifibSlapBug.py
View file @
09975c7c
...
@@ -276,7 +276,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -276,7 +276,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -377,7 +377,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -377,7 +377,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
...
@@ -649,7 +649,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -649,7 +649,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -768,7 +768,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -768,7 +768,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -786,7 +786,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -786,7 +786,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -816,7 +816,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -816,7 +816,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -933,7 +933,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -933,7 +933,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -950,7 +950,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -950,7 +950,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -980,7 +980,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -980,7 +980,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -1105,7 +1105,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1105,7 +1105,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -1122,7 +1122,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1122,7 +1122,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -1236,7 +1236,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1236,7 +1236,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
@@ -1304,7 +1304,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1304,7 +1304,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
@@ -1347,7 +1347,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1347,7 +1347,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
@@ -1392,7 +1392,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1392,7 +1392,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -1463,7 +1463,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1463,7 +1463,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -1509,7 +1509,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1509,7 +1509,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -1604,16 +1604,16 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1604,16 +1604,16 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
SubmitCredentialRequest
SubmitCredentialRequest
Tic
Tic
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
Tic
Logout
Logout
LoginERP5TypeTestCase
LoginERP5TypeTestCase
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
Tic
TriggerStopConfirmedInvoice
Alarm
CallStopConfirmedSaleInvoiceTransaction
Alarm
Tic
Tic
TriggerBuild
CallVifibTriggerBuildAlarm
Tic
Tic
PayRegistrationPayment
PayRegistrationPayment
Tic
Tic
...
@@ -1648,7 +1648,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1648,7 +1648,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
...
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
View file @
09975c7c
...
@@ -232,6 +232,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -232,6 +232,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
"""
"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_installed_computer_partition_sequence_string
+
'
\
sequence_string
=
self
.
prepare_installed_computer_partition_sequence_string
+
'
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
\
LoginDefaultUser
\
LoginDefaultUser
\
DeliverSalePackingList
\
DeliverSalePackingList
\
Tic
\
Tic
\
...
@@ -329,7 +332,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -329,7 +332,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLogout
\
SlapLogout
\
\
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
Logout
\
Logout
\
...
@@ -358,7 +361,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -358,7 +361,7 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLogout
\
SlapLogout
\
\
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
SetDeliveryLineAmountEqualOne
\
SetDeliveryLineAmountEqualOne
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionConnection.py
View file @
09975c7c
...
@@ -55,7 +55,7 @@ class TestVifibSlapComputerPartitionConnection(TestVifibSlapWebServiceMixin):
...
@@ -55,7 +55,7 @@ class TestVifibSlapComputerPartitionConnection(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckGetSetConnectionDict
CheckGetSetConnectionDict
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionGetState.py
View file @
09975c7c
...
@@ -107,6 +107,10 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -107,6 +107,10 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
StartSalePackingList
\
StartSalePackingList
\
StopSalePackingList
\
StopSalePackingList
\
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
\
DeliverSalePackingList
\
DeliverSalePackingList
\
Tic
\
Tic
\
CheckComputerPartitionInstanceSetupSalePackingListDelivered
\
CheckComputerPartitionInstanceSetupSalePackingListDelivered
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
View file @
09975c7c
...
@@ -8,11 +8,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
...
@@ -8,11 +8,11 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
lock_user_sequence_string
=
'
\
lock_user_sequence_string
=
'
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
TriggerBuild
\
CallVifibTriggerBuildAlarm
\
Tic
\
Tic
\
TriggerStopConfirmedInvoice
Alarm
\
CallStopConfirmedSaleInvoiceTransaction
Alarm
\
Tic
\
Tic
\
TriggerBuild
\
CallVifibTriggerBuildAlarm
\
Tic
\
Tic
\
Logout'
Logout'
...
@@ -65,7 +65,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
...
@@ -65,7 +65,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
\
\
LoginDefaultUser
\
LoginDefaultUser
\
SoftwareInstanceSaleOrderConfirmRaisesUnauthorized
\
SoftwareInstanceSaleOrderConfirmRaisesUnauthorized
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
AssertNoComputerPartition
\
AssertNoComputerPartition
\
Logout
\
Logout
\
...
@@ -94,7 +94,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
...
@@ -94,7 +94,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
\
\
LoginDefaultUser
\
LoginDefaultUser
\
SoftwareInstanceSaleOrderConfirmRaisesUnauthorized
\
SoftwareInstanceSaleOrderConfirmRaisesUnauthorized
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
AssertNoComputerPartition
\
AssertNoComputerPartition
\
Logout
\
Logout
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
View file @
09975c7c
...
@@ -46,7 +46,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -46,7 +46,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout
\
SlapLogout
\
\
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
@@ -89,7 +89,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -89,7 +89,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout
\
SlapLogout
\
\
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
@@ -160,7 +160,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -160,7 +160,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
@@ -241,7 +241,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -241,7 +241,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
@@ -253,7 +253,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -253,7 +253,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckRequestedComputerPartitionCleanParameterList
\
CheckRequestedComputerPartitionCleanParameterList
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
LoginDefaultUser
\
LoginDefaultUser
\
SetCurrentSoftwareInstanceRequested
\
SetCurrentSoftwareInstanceRequested
\
...
@@ -471,7 +471,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -471,7 +471,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLogout
\
SlapLogout
\
\
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
@@ -506,7 +506,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -506,7 +506,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
CheckRequestedSoftwareInstanceAndRelatedComputerPartition
\
...
@@ -580,7 +580,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -580,7 +580,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
RequestComputerPartition
RequestComputerPartition
...
@@ -613,7 +613,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -613,7 +613,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
RequestComputerPartition
RequestComputerPartition
...
@@ -676,7 +676,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -676,7 +676,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
RequestSlaveInstanceFromComputerPartition
RequestSlaveInstanceFromComputerPartition
...
@@ -708,7 +708,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -708,7 +708,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
RequestSlaveInstanceFromComputerPartition
RequestSlaveInstanceFromComputerPartition
...
@@ -804,7 +804,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -804,7 +804,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
@@ -826,7 +826,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -826,7 +826,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
RequestComputerPartition
RequestComputerPartition
...
@@ -997,7 +997,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -997,7 +997,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
CheckSlaveInstanceListFromOneComputerPartition
...
@@ -1031,7 +1031,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1031,7 +1031,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -1085,7 +1085,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1085,7 +1085,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
CheckSlaveInstanceListFromOneComputerPartition
...
@@ -1096,7 +1096,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1096,7 +1096,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
CheckSlaveInstanceListFromOneComputerPartition
...
@@ -1132,7 +1132,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1132,7 +1132,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
SelectSlaveInstanceFromSaleOrderOrdered
SelectSlaveInstanceFromSaleOrderOrdered
SoftwareInstanceSaleOrderLineNoPartitionFound
SoftwareInstanceSaleOrderLineNoPartitionFound
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetDeliveryLineAmountEqualZero
SetDeliveryLineAmountEqualZero
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
...
@@ -1157,7 +1157,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1157,7 +1157,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
"""
"""
...
@@ -1263,7 +1263,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1263,7 +1263,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
SetDeliveryLineAmountEqualOne
\
SetDeliveryLineAmountEqualOne
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
...
@@ -1276,7 +1276,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1276,7 +1276,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
Logout
\
Logout
\
...
@@ -1347,7 +1347,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1347,7 +1347,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
Logout
\
Logout
\
SlapLoginTestVifibCustomer
\
SlapLoginTestVifibCustomer
\
...
@@ -1374,7 +1374,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1374,7 +1374,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
\
RequestSlaveInstanceFromComputerPartition
\
Tic
\
Tic
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
Logout
\
Logout
\
RequestSlaveInstanceFromComputerPartition
\
RequestSlaveInstanceFromComputerPartition
\
...
@@ -1434,7 +1434,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1434,7 +1434,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSlaveInstanceListFromOneComputerPartition
\
CheckSlaveInstanceListFromOneComputerPartition
\
...
@@ -1452,7 +1452,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1452,7 +1452,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
Logout
\
Logout
\
SlapLoginTestVifibCustomer
\
SlapLoginTestVifibCustomer
\
...
@@ -1479,7 +1479,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1479,7 +1479,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
\
RequestSlaveInstanceFromComputerPartition
\
Tic
\
Tic
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
Logout
\
Logout
\
RequestSlaveInstanceFromComputerPartition
\
RequestSlaveInstanceFromComputerPartition
\
...
@@ -1575,7 +1575,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1575,7 +1575,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestComputerPartition
\
RequestComputerPartition
\
Tic
\
Tic
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
Logout
\
Logout
\
RequestComputerPartition
\
RequestComputerPartition
\
...
@@ -1585,7 +1585,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1585,7 +1585,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestComputerPartitionWithAnotherSoftwareType
\
RequestComputerPartitionWithAnotherSoftwareType
\
Tic
\
Tic
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
Logout
\
Logout
\
CheckRequestComputerPartitionWithAnotherSoftwareType
\
CheckRequestComputerPartitionWithAnotherSoftwareType
\
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
View file @
09975c7c
...
@@ -45,7 +45,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -45,7 +45,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -327,7 +327,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -327,7 +327,7 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
...
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
View file @
09975c7c
...
@@ -41,7 +41,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
...
@@ -41,7 +41,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
@@ -97,7 +97,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
...
@@ -97,7 +97,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
@@ -152,7 +152,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
...
@@ -152,7 +152,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
@@ -248,7 +248,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
...
@@ -248,7 +248,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
09975c7c
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
##############################################################################
##############################################################################
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
,
\
from
AccessControl.SecurityManagement
import
newSecurityManager
,
\
getSecurityManager
,
setSecurityManager
getSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.backportUnittest
import
skip
from
Products.ERP5Type.tests.backportUnittest
import
skip
...
@@ -267,22 +267,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -267,22 +267,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def
stepCheckSoftwareReleaseNotInPublicTable
(
self
,
sequence
,
**
kw
):
def
stepCheckSoftwareReleaseNotInPublicTable
(
self
,
sequence
,
**
kw
):
self
.
assertEqual
(
0
,
self
.
_getSoftwareReleasePublicTableAmount
(
sequence
))
self
.
assertEqual
(
0
,
self
.
_getSoftwareReleasePublicTableAmount
(
sequence
))
def
stepTriggerConfirmPlannedInvoiceAlarm
(
self
,
sequence
,
**
kw
):
sm
=
getSecurityManager
()
self
.
login
()
try
:
self
.
portal
.
portal_alarms
.
confirm_planned_sale_invoice_transaction
.
activeSense
()
finally
:
setSecurityManager
(
sm
)
def
stepTriggerStopConfirmedInvoiceAlarm
(
self
,
sequence
,
**
kw
):
sm
=
getSecurityManager
()
self
.
login
()
try
:
self
.
portal
.
portal_alarms
.
stop_confirmed_sale_invoice_transaction
.
activeSense
()
finally
:
setSecurityManager
(
sm
)
def
stepCheckComputerTradeConditionDestinationSectionTestVifibCustomer
(
def
stepCheckComputerTradeConditionDestinationSectionTestVifibCustomer
(
self
,
sequence
,
**
kw
):
self
,
sequence
,
**
kw
):
computer
=
self
.
portal
.
portal_catalog
.
getResultValue
(
computer
=
self
.
portal
.
portal_catalog
.
getResultValue
(
...
@@ -365,8 +349,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -365,8 +349,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_instance_reference
=
software_instance
.
getReference
())
software_instance_reference
=
software_instance
.
getReference
())
def
stepSetCurrentPersonSlapRequestedSoftwareInstance
(
self
,
sequence
,
**
kw
):
def
stepSetCurrentPersonSlapRequestedSoftwareInstance
(
self
,
sequence
,
**
kw
):
cleanup_resource
=
self
.
portal
.
portal_preferences
\
.
getPreferredInstanceCleanupResource
()
software_instance_list
=
[]
software_instance_list
=
[]
for
software_instance
in
self
.
portal
.
portal_catalog
(
for
software_instance
in
self
.
portal
.
portal_catalog
(
portal_type
=
self
.
software_instance_portal_type
,
portal_type
=
self
.
software_instance_portal_type
,
...
@@ -937,15 +919,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -937,15 +919,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
sequence
[
'computer_partition_reference'
])
sequence
[
'computer_partition_reference'
])
computer_partition
.
building
()
computer_partition
.
building
()
def
stepConfirmOrderedSaleOrderActiveSense
(
self
,
**
kw
):
sm
=
getSecurityManager
()
self
.
login
()
try
:
self
.
portal
.
portal_alarms
.
confirm_ordered_sale_order
\
.
activeSense
()
finally
:
setSecurityManager
(
sm
)
def
stepPayRegistrationPayment
(
self
,
sequence
,
**
kw
):
def
stepPayRegistrationPayment
(
self
,
sequence
,
**
kw
):
"""
"""
"""
"""
...
@@ -1124,7 +1097,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1124,7 +1097,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
prepare_install_requested_computer_partition_sequence_string
=
\
prepare_install_requested_computer_partition_sequence_string
=
\
prepare_person_requested_software_instance
+
"""
prepare_person_requested_software_instance
+
"""
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -1301,7 +1274,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1301,7 +1274,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
\
CheckRaisesNotFoundComputerPartitionParameterDict
\
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
RequestComputerPartition
\
RequestComputerPartition
\
...
@@ -1319,7 +1292,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1319,7 +1292,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Tic
Tic
CheckRaisesNotFoundComputerPartitionParameterDict
CheckRaisesNotFoundComputerPartitionParameterDict
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
RequestComputerPartition
RequestComputerPartition
...
@@ -1462,16 +1435,32 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1462,16 +1435,32 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
LoginDefaultUser
\
LoginDefaultUser
\
SubmitCredentialRequest
\
SubmitCredentialRequest
\
Tic
\
Tic
\
AcceptSubmittedCredentialsActiveSense
\
CallAcceptSubmittedCredentialsAlarm
\
Tic
\
Tic
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
LoginERP5TypeTestCase
\
TriggerBuild
\
CallVifibExpandDeliveryLineAlarm
\
Tic
\
CleanTic
\
TriggerStopConfirmedInvoiceAlarm
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
Tic
\
CleanTic
\
TriggerBuild
\
CallVifibTriggerBuildAlarm
\
Tic
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
CallStopConfirmedSaleInvoiceTransactionAlarm
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
CallVifibTriggerBuildAlarm
\
CleanTic
\
CallVifibExpandDeliveryLineAlarm
\
CleanTic
\
CallVifibUpdateDeliveryCausalityStateAlarm
\
CleanTic
\
Logout'
Logout'
create_new_user_instance_sequence_string
=
'
\
create_new_user_instance_sequence_string
=
'
\
...
@@ -1481,7 +1470,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1481,7 +1470,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
Logout
\
Logout
\
\
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
SetSelectedComputerPartition
\
SetSelectedComputerPartition
\
SelectCurrentlyUsedSalePackingListUid
\
SelectCurrentlyUsedSalePackingListUid
\
...
@@ -1981,7 +1970,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1981,7 +1970,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_type
,
software_type
+
str
(
2
))
software_type
,
software_type
+
str
(
2
))
self
.
stepLoginDefaultUser
()
self
.
stepLoginDefaultUser
()
self
.
stepTic
()
self
.
stepTic
()
self
.
stepC
onfirmOrderedSaleOrderActiveSense
()
self
.
stepC
allConfirmOrderedSaleOrderAlarm
()
self
.
stepTic
()
self
.
stepTic
()
self
.
stepLogout
()
self
.
stepLogout
()
first
=
slap_computer_partition
.
request
(
software_release
,
first
=
slap_computer_partition
.
request
(
software_release
,
...
@@ -4230,9 +4219,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -4230,9 +4219,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
)
)
credential_request
.
submit
()
credential_request
.
submit
()
def
stepAcceptSubmittedCredentialsActiveSense
(
self
,
**
kw
):
self
.
portal
.
portal_alarms
.
accept_submitted_credentials
.
activeSense
()
def
stepLoginWebUser
(
self
,
sequence
,
**
kw
):
def
stepLoginWebUser
(
self
,
sequence
,
**
kw
):
self
.
login
(
sequence
[
'web_user'
])
self
.
login
(
sequence
[
'web_user'
])
...
@@ -4374,7 +4360,6 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4374,7 +4360,6 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
########################################
########################################
def
_safe_revoke_certificate
(
self
,
person
):
def
_safe_revoke_certificate
(
self
,
person
):
from
AccessControl
import
getSecurityManager
user
=
getSecurityManager
().
getUser
().
getId
()
user
=
getSecurityManager
().
getUser
().
getId
()
try
:
try
:
self
.
login
(
'ERP5TypeTestCase'
)
self
.
login
(
'ERP5TypeTestCase'
)
...
@@ -4481,7 +4466,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4481,7 +4466,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
SubmitCredentialRequest
SubmitCredentialRequest
Tic
Tic
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
Tic
PayRegistrationPayment
PayRegistrationPayment
Tic
Tic
...
@@ -4493,7 +4478,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4493,7 +4478,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -4533,7 +4518,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4533,7 +4518,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
SubmitCredentialRequest
SubmitCredentialRequest
Tic
Tic
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
Tic
Logout
Logout
...
@@ -4543,7 +4528,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4543,7 +4528,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
AcceptSubmittedCredentialsActiveSense
CallAcceptSubmittedCredentialsAlarm
Tic
Tic
LoginWebUser
LoginWebUser
...
...
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
View file @
09975c7c
...
@@ -17,7 +17,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -17,7 +17,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Tic # in order to call real build
Tic # in order to call real build
CheckComputerPartitionSaleOrderAggregatedList
CheckComputerPartitionSaleOrderAggregatedList
...
@@ -49,7 +49,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -49,7 +49,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckSlaveInstanceNotReady
CheckSlaveInstanceNotReady
Logout
Logout
...
@@ -74,7 +74,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -74,7 +74,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
...
@@ -104,7 +104,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -104,7 +104,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -139,7 +139,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -139,7 +139,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSlaveInstance
PersonRequestSlaveInstance
Tic
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
SoftwareInstanceAvailable
SoftwareInstanceAvailable
...
@@ -170,12 +170,12 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -170,12 +170,12 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSoftwareInstance
PersonRequestSoftwareInstance
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSlaveInstance
PersonRequestSlaveInstance
Tic
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
SoftwareInstanceAvailable
SoftwareInstanceAvailable
...
@@ -202,7 +202,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -202,7 +202,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSlaveInstance
PersonRequestSlaveInstance
Tic
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckSlaveInstanceNotReady
CheckSlaveInstanceNotReady
Logout
Logout
...
@@ -231,7 +231,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -231,7 +231,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSlaveInstance
PersonRequestSlaveInstance
Tic
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckSlaveInstanceReady
CheckSlaveInstanceReady
CheckSlaveInstanceAllocationWithTwoDifferentSoftwareInstance
CheckSlaveInstanceAllocationWithTwoDifferentSoftwareInstance
...
@@ -257,7 +257,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -257,7 +257,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSlaveInstance
PersonRequestSlaveInstance
Tic
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
"""
+
self
.
prepare_published_software_release
+
"""
"""
+
self
.
prepare_published_software_release
+
"""
Tic
Tic
...
@@ -271,13 +271,13 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -271,13 +271,13 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSoftwareInstance
PersonRequestSoftwareInstance
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SelectDifferentSoftwareReleaseUri
SelectDifferentSoftwareReleaseUri
LoginTestVifibCustomer
LoginTestVifibCustomer
PersonRequestSlaveInstance
PersonRequestSlaveInstance
Tic
Tic
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckSlaveInstanceAssociationWithSoftwareInstance
CheckSlaveInstanceAssociationWithSoftwareInstance
SlapLogout
SlapLogout
...
@@ -308,7 +308,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -308,7 +308,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
CheckTwoSlaveInstanceRequest
CheckTwoSlaveInstanceRequest
SlapLogout
SlapLogout
...
@@ -341,7 +341,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -341,7 +341,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
SoftwareInstanceAvailable
SoftwareInstanceAvailable
...
@@ -371,7 +371,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -371,7 +371,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
SoftwareInstanceAvailable
SoftwareInstanceAvailable
...
@@ -406,7 +406,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -406,7 +406,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -453,7 +453,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -453,7 +453,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -527,7 +527,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -527,7 +527,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
PersonRequestSlaveInstance
PersonRequestSlaveInstance
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -587,7 +587,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -587,7 +587,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -625,7 +625,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -625,7 +625,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -663,7 +663,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -663,7 +663,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
LoginTestVifibCustomer
LoginTestVifibCustomer
...
@@ -702,7 +702,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -702,7 +702,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentComputer
SlapLoginCurrentComputer
...
@@ -753,7 +753,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -753,7 +753,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
LoginTestVifibCustomer
LoginTestVifibCustomer
RequestSoftwareInstanceDestroy
RequestSoftwareInstanceDestroy
...
@@ -782,7 +782,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -782,7 +782,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLogout
SlapLogout
LoginAsCustomerA
LoginAsCustomerA
...
@@ -791,7 +791,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -791,7 +791,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
SlapLogout
SlapLogout
LoginTestVifibCustomer
LoginTestVifibCustomer
CheckSlaveInstanceSecurityWithDifferentCustomer
CheckSlaveInstanceSecurityWithDifferentCustomer
...
@@ -820,7 +820,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -820,7 +820,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
CheckSlaveInstanceListFromOneComputerPartition
...
@@ -848,7 +848,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -848,7 +848,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
StoreSalePackingListLineFromSlaveInstance
StoreSalePackingListLineFromSlaveInstance
StoreSaleOrderFromSlaveInstance
StoreSaleOrderFromSlaveInstance
...
@@ -882,7 +882,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -882,7 +882,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SlapLoginSoftwareInstanceFromCurrentSoftwareInstance
SlapLoginSoftwareInstanceFromCurrentSoftwareInstance
SetConnectionXmlToSlaveInstance
SetConnectionXmlToSlaveInstance
...
@@ -920,7 +920,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -920,7 +920,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
RequestSlaveInstanceFromComputerPartition
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -987,7 +987,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -987,7 +987,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
RequestSlaveInstanceFromComputerPartition
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -1060,7 +1060,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -1060,7 +1060,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
RequestSlaveInstanceFromComputerPartition
RequestSlaveInstanceFromComputerPartition
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
@@ -1090,7 +1090,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -1090,7 +1090,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Logout
Logout
Tic
Tic
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
SetSelectedComputerPartition
SetSelectedComputerPartition
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
...
@@ -1105,7 +1105,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -1105,7 +1105,7 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
LoginDefaultUser
LoginDefaultUser
C
onfirmOrderedSaleOrderActiveSense
C
allConfirmOrderedSaleOrderAlarm
Tic
Tic
Logout
Logout
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
...
...
master/product/Vifib/tests/testVifibUsageReport.py
View file @
09975c7c
...
@@ -58,7 +58,7 @@ class TestVifibUsageReportMixin(TestVifibSlapWebServiceMixin):
...
@@ -58,7 +58,7 @@ class TestVifibUsageReportMixin(TestVifibSlapWebServiceMixin):
Logout
\
Logout
\
\
\
LoginDefaultUser
\
LoginDefaultUser
\
C
onfirmOrderedSaleOrderActiveSense
\
C
allConfirmOrderedSaleOrderAlarm
\
Tic
\
Tic
\
SetSelectedComputerPartition
\
SetSelectedComputerPartition
\
SelectCurrentlyUsedSalePackingListUid
\
SelectCurrentlyUsedSalePackingListUid
\
...
...
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