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
Xavier Thompson
slapos.core
Commits
e22873bd
Commit
e22873bd
authored
Jan 16, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into hostingwebsite
parents
db127598
fcb5a781
Changes
49
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
2593 additions
and
38 deletions
+2593
-38
master/bt5/vifib_base/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+1
-0
master/bt5/vifib_base/PortalTypeTemplateItem/portal_types/Software%20Instance.xml
...rtalTypeTemplateItem/portal_types/Software%20Instance.xml
+6
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/ERP5Site_viewWorklist.xml
...ateItem/portal_skins/vifib_base/ERP5Site_viewWorklist.xml
+154
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/ERP5Site_viewWorklist/listbox.xml
...portal_skins/vifib_base/ERP5Site_viewWorklist/listbox.xml
+643
-0
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/ERP5Site_viewWorklist/listbox_link.xml
...l_skins/vifib_base/ERP5Site_viewWorklist/listbox_link.xml
+279
-0
master/bt5/vifib_base/bt/dependency_list
master/bt5/vifib_base/bt/dependency_list
+3
-1
master/bt5/vifib_base/bt/revision
master/bt5/vifib_base/bt/revision
+1
-1
master/bt5/vifib_base/bt/template_portal_type_property_sheet_list
...t5/vifib_base/bt/template_portal_type_property_sheet_list
+2
-1
master/bt5/vifib_open_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+12
-0
master/bt5/vifib_open_trade/SkinTemplateItem/portal_skins/vifib_open_trade/Service_getPriceCalculationOperandDict.xml
...fib_open_trade/Service_getPriceCalculationOperandDict.xml
+2
-0
master/bt5/vifib_open_trade/bt/revision
master/bt5/vifib_open_trade/bt/revision
+1
-1
master/bt5/vifib_open_trade/bt/template_portal_type_allowed_content_type_list
...n_trade/bt/template_portal_type_allowed_content_type_list
+11
-1
master/bt5/vifib_slap/PathTemplateItem/portal_alarms/vifib_check_consistency.xml
...athTemplateItem/portal_alarms/vifib_check_consistency.xml
+266
-0
master/bt5/vifib_slap/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+3
-0
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
...lateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
+1
-1
master/bt5/vifib_slap/bt/dependency_list
master/bt5/vifib_slap/bt/dependency_list
+2
-1
master/bt5/vifib_slap/bt/revision
master/bt5/vifib_slap/bt/revision
+1
-1
master/bt5/vifib_slap/bt/template_path_list
master/bt5/vifib_slap/bt/template_path_list
+1
-3
master/bt5/vifib_slap/bt/template_portal_type_property_sheet_list
...t5/vifib_slap/bt/template_portal_type_property_sheet_list
+1
-0
master/product/Vifib/Tool/SlapTool.py
master/product/Vifib/Tool/SlapTool.py
+9
-2
master/product/Vifib/tests/VifibMixin.py
master/product/Vifib/tests/VifibMixin.py
+52
-2
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
...ct/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
+4
-3
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
+5
-1
master/product/Vifib/tests/testVifibSlapAllocationScope.py
master/product/Vifib/tests/testVifibSlapAllocationScope.py
+42
-0
master/product/Vifib/tests/testVifibSlapBang.py
master/product/Vifib/tests/testVifibSlapBang.py
+27
-0
master/product/Vifib/tests/testVifibSlapBug.py
master/product/Vifib/tests/testVifibSlapBug.py
+78
-0
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
...ib/tests/testVifibSlapComputerGetComputerPartitionList.py
+87
-0
master/product/Vifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
...ifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
+51
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionAvailable.py
...ct/Vifib/tests/testVifibSlapComputerPartitionAvailable.py
+13
-1
master/product/Vifib/tests/testVifibSlapComputerPartitionBuilding.py
...uct/Vifib/tests/testVifibSlapComputerPartitionBuilding.py
+12
-1
master/product/Vifib/tests/testVifibSlapComputerPartitionConnection.py
...t/Vifib/tests/testVifibSlapComputerPartitionConnection.py
+4
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionError.py
...roduct/Vifib/tests/testVifibSlapComputerPartitionError.py
+66
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionGetInstanceParameterDict.py
...testVifibSlapComputerPartitionGetInstanceParameterDict.py
+21
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionGetSoftwareRelease.py
...tests/testVifibSlapComputerPartitionGetSoftwareRelease.py
+18
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionGetState.py
...uct/Vifib/tests/testVifibSlapComputerPartitionGetState.py
+66
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
...duct/Vifib/tests/testVifibSlapComputerPartitionRequest.py
+197
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionStopped.py
...duct/Vifib/tests/testVifibSlapComputerPartitionStopped.py
+14
-1
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
...oduct/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
+77
-0
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
+12
-0
master/product/Vifib/tests/testVifibSlapRegisterComputer.py
master/product/Vifib/tests/testVifibSlapRegisterComputer.py
+12
-0
master/product/Vifib/tests/testVifibSlapRegisterComputerPartition.py
...uct/Vifib/tests/testVifibSlapRegisterComputerPartition.py
+18
-0
master/product/Vifib/tests/testVifibSlapRegisterSoftwareRelease.py
...oduct/Vifib/tests/testVifibSlapRegisterSoftwareRelease.py
+12
-0
master/product/Vifib/tests/testVifibSlapSoftwareReleaseAvailable.py
...duct/Vifib/tests/testVifibSlapSoftwareReleaseAvailable.py
+28
-2
master/product/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
...oduct/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
+28
-2
master/product/Vifib/tests/testVifibSlapSoftwareReleaseError.py
.../product/Vifib/tests/testVifibSlapSoftwareReleaseError.py
+24
-0
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+101
-8
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
...oduct/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
+99
-0
master/product/Vifib/tests/testVifibUsageReport.py
master/product/Vifib/tests/testVifibUsageReport.py
+12
-2
slapos/slap/slap.py
slapos/slap/slap.py
+14
-2
No files found.
master/bt5/vifib_base/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
e22873bd
...
@@ -13,5 +13,6 @@
...
@@ -13,5 +13,6 @@
<item>
SoftwareInstance
</item>
<item>
SoftwareInstance
</item>
<item>
SoftwareInstanceConstraint
</item>
<item>
SoftwareInstanceConstraint
</item>
<item>
TextDocument
</item>
<item>
TextDocument
</item>
<item>
VariationRange
</item>
</portal_type>
</portal_type>
</property_sheet_list>
</property_sheet_list>
\ No newline at end of file
master/bt5/vifib_base/PortalTypeTemplateItem/portal_types/Software%20Instance.xml
View file @
e22873bd
...
@@ -85,6 +85,12 @@
...
@@ -85,6 +85,12 @@
<key>
<string>
type_class
</string>
</key>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
SoftwareInstance
</string>
</value>
<value>
<string>
SoftwareInstance
</string>
</value>
</item>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<key>
<string>
type_mixin
</string>
</key>
<value>
<value>
...
...
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/ERP5Site_viewWorklist.xml
0 → 100644
View file @
e22873bd
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5Form"
module=
"Products.ERP5Form.Form"
/>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<list>
<string>
left
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list>
<string>
listbox
</string>
</list>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list>
<string>
listbox_link
</string>
</list>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_viewWorklist
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
ERP5Site_viewWorklist
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_list
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
stored_encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Worklists
</string>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/ERP5Site_viewWorklist/listbox.xml
0 → 100644
View file @
e22873bd
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ListBox"
module=
"Products.ERP5Form.ListBox"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
<item>
<key>
<string>
required_not_found
</string>
</key>
<value>
<string>
Input is required but no input given.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
all_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
anchor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
count_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default_display_style
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_style_list
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
domain_root_list
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
domain_tree
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
global_attributes
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
global_search_column
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hide_rows_on_no_search_criterion
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
lines
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
list_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
meta_types
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
page_navigation_template
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
page_template
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
portal_types
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
report_root_list
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
report_tree
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
row_css_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
search
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
search_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
select
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
sort
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
sort_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
stat_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
stat_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
style_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
untranslatable_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
url_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
all_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
anchor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
count_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default_display_style
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_style_list
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
domain_root_list
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
domain_tree
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
global_attributes
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
global_search_column
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hide_rows_on_no_search_criterion
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
lines
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
list_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
meta_types
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
page_navigation_template
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
page_template
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
portal_types
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
report_root_list
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
report_tree
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
row_css_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
search
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
search_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
select
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
sort
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
sort_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
stat_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
stat_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
style_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
untranslatable_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
url_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
all_columns
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
anchor
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
link
</string>
<string>
Link
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
count_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string>
hidden_label gadget
</string>
</value>
</item>
<item>
<key>
<string>
default_display_style
</string>
</key>
<value>
<string>
table
</string>
</value>
</item>
<item>
<key>
<string>
default_params
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_style_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
domain_root_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
domain_tree
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
editable_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
link
</string>
<string>
link
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
global_attributes
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
global_search_column
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
hide_rows_on_no_search_criterion
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
lines
</string>
</key>
<value>
<int>
20
</int>
</value>
</item>
<item>
<key>
<string>
list_action
</string>
</key>
<value>
<string>
list
</string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
meta_types
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
page_navigation_template
</string>
</key>
<value>
<string>
ListBox_viewSliderPageNavigationRenderer
</string>
</value>
</item>
<item>
<key>
<string>
page_template
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
portal_types
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
report_root_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
report_tree
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
row_css_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
search
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
search_columns
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
select
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
erp5_site_view_worklist
</string>
</value>
</item>
<item>
<key>
<string>
sort
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
sort_columns
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
stat_columns
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
stat_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
style_columns
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Worklist
</string>
</value>
</item>
<item>
<key>
<string>
untranslatable_columns
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
url_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Worklist_getUrl
</string>
</tuple>
<tuple>
<string>
link
</string>
<string>
Worklist_getUrl
</string>
</tuple>
</list>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: int(context.restrictedTraverse(context.REQUEST.get(\'box_relative_url\', \'\')).KnowledgeBox_getDefaultPreferencesDict().get(\'listbox_selection_list_lines\', None) or 10)
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
method_name
</string>
</key>
<value>
<string>
ERP5Site_getWorklistObjectList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/ERP5Site_viewWorklist/listbox_link.xml
0 → 100644
View file @
e22873bd
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StringField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listbox_link
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
<item>
<key>
<string>
required_not_found
</string>
</key>
<value>
<string>
Input is required but no input given.
</string>
</value>
</item>
<item>
<key>
<string>
too_long
</string>
</key>
<value>
<string>
Too much input was given.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<int>
20
</int>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
listbox_link
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python: cell.getProperty(\'worklist_url\').replace(\'&\', \'&\')
]]>
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_base/bt/dependency_list
View file @
e22873bd
erp5_computer_immobilisation
erp5_computer_immobilisation
erp5_software_pdm
erp5_software_pdm
\ No newline at end of file
erp5_knowledge_pad
erp5_rss_style
\ No newline at end of file
master/bt5/vifib_base/bt/revision
View file @
e22873bd
350
352
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_base/bt/template_portal_type_property_sheet_list
View file @
e22873bd
...
@@ -6,4 +6,5 @@ Slave Instance | TextDocument
...
@@ -6,4 +6,5 @@ Slave Instance | TextDocument
Software Instance | Reference
Software Instance | Reference
Software Instance | SoftwareInstance
Software Instance | SoftwareInstance
Software Instance | SoftwareInstanceConstraint
Software Instance | SoftwareInstanceConstraint
Software Instance | TextDocument
Software Instance | TextDocument
\ No newline at end of file
Software Instance | VariationRange
\ No newline at end of file
master/bt5/vifib_open_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
View file @
e22873bd
...
@@ -11,4 +11,16 @@
...
@@ -11,4 +11,16 @@
<portal_type
id=
"Hosting Subscription Module"
>
<portal_type
id=
"Hosting Subscription Module"
>
<item>
Hosting Subscription
</item>
<item>
Hosting Subscription
</item>
</portal_type>
</portal_type>
<portal_type
id=
"Subscription Item Root Simulation Rule"
>
<item>
Accounting Rule Cell
</item>
<item>
Category Membership Divergence Tester
</item>
<item>
DateTime Divergence Tester
</item>
<item>
Float Divergence Tester
</item>
<item>
Mapped Property
</item>
<item>
Net Converted Quantity Divergence Tester
</item>
<item>
Predicate
</item>
<item>
Specialise Divergence Tester
</item>
<item>
String Divergence Tester
</item>
<item>
Variation Divergence Tester
</item>
</portal_type>
</allowed_content_type_list>
</allowed_content_type_list>
\ No newline at end of file
master/bt5/vifib_open_trade/SkinTemplateItem/portal_skins/vifib_open_trade/Service_getPriceCalculationOperandDict.xml
View file @
e22873bd
...
@@ -51,6 +51,8 @@
...
@@ -51,6 +51,8 @@
<item>
<item>
<key>
<string>
_body
</string>
</key>
<key>
<string>
_body
</string>
</key>
<value>
<string>
def getRelatedTradeConditionList(trade_condition):\n
<value>
<string>
def getRelatedTradeConditionList(trade_condition):\n
if trade_condition is None:\n
return []\n
related_trade_condition_list = trade_condition.getSpecialiseValueList(\n
related_trade_condition_list = trade_condition.getSpecialiseValueList(\n
portal_type=(\'Sale Trade Condition\', \'Purchase Trade Condition\'))\n
portal_type=(\'Sale Trade Condition\', \'Purchase Trade Condition\'))\n
for related_trade_condition in trade_condition.getSpecialiseValueList(\n
for related_trade_condition in trade_condition.getSpecialiseValueList(\n
...
...
master/bt5/vifib_open_trade/bt/revision
View file @
e22873bd
138
140
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_open_trade/bt/template_portal_type_allowed_content_type_list
View file @
e22873bd
...
@@ -5,4 +5,14 @@ Delivery Simulation Rule | Net Converted Quantity Divergence Tester
...
@@ -5,4 +5,14 @@ Delivery Simulation Rule | Net Converted Quantity Divergence Tester
Delivery Simulation Rule | Specialise Divergence Tester
Delivery Simulation Rule | Specialise Divergence Tester
Delivery Simulation Rule | String Divergence Tester
Delivery Simulation Rule | String Divergence Tester
Delivery Simulation Rule | Variation Divergence Tester
Delivery Simulation Rule | Variation Divergence Tester
Hosting Subscription Module | Hosting Subscription
Hosting Subscription Module | Hosting Subscription
\ No newline at end of file
Subscription Item Root Simulation Rule | Accounting Rule Cell
Subscription Item Root Simulation Rule | Category Membership Divergence Tester
Subscription Item Root Simulation Rule | DateTime Divergence Tester
Subscription Item Root Simulation Rule | Float Divergence Tester
Subscription Item Root Simulation Rule | Mapped Property
Subscription Item Root Simulation Rule | Net Converted Quantity Divergence Tester
Subscription Item Root Simulation Rule | Predicate
Subscription Item Root Simulation Rule | Specialise Divergence Tester
Subscription Item Root Simulation Rule | String Divergence Tester
Subscription Item Root Simulation Rule | Variation Divergence Tester
\ No newline at end of file
master/bt5/vifib_slap/PathTemplateItem/portal_alarms/vifib_check_consistency.xml
0 → 100644
View file @
e22873bd
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Alarm"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_form_id
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
catalog_query_string
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
module_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
lines
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
active_sense_method_id
</string>
</key>
<value>
<string>
Alarm_activateCheckConsistency
</string>
</value>
</item>
<item>
<key>
<string>
alarm_notification_mode
</string>
</key>
<value>
<tuple>
<string>
problem
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
catalog_query_string
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
destination/person_module/3
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
configuration_form_id
</string>
</key>
<value>
<string>
Alarm_viewConsistencyCheckConfiguration
</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_check_consistency
</string>
</value>
</item>
<item>
<key>
<string>
module_list
</string>
</key>
<value>
<tuple>
<string>
organisation_module
</string>
<string>
currency_module
</string>
<string>
notification_message_module
</string>
<string>
person_module
</string>
<string>
query_module
</string>
<string>
internal_supply_module
</string>
<string>
component_module
</string>
<string>
sale_supply_module
</string>
<string>
purchase_supply_module
</string>
<string>
quantity_unit_conversion_module
</string>
<string>
product_module
</string>
<string>
service_module
</string>
<string>
transformation_module
</string>
<string>
purchase_trade_condition_module
</string>
<string>
returned_sale_packing_list_module
</string>
<string>
internal_order_module
</string>
<string>
returned_purchase_packing_list_module
</string>
<string>
purchase_packing_list_module
</string>
<string>
business_process_module
</string>
<string>
sale_order_module
</string>
<string>
sale_packing_list_module
</string>
<string>
internal_packing_list_module
</string>
<string>
purchase_order_module
</string>
<string>
inventory_module
</string>
<string>
sale_trade_condition_module
</string>
<string>
internal_trade_condition_module
</string>
<string>
service_report_module
</string>
<string>
item_module
</string>
<string>
support_request_module
</string>
<string>
event_module
</string>
<string>
meeting_module
</string>
<string>
sale_opportunity_module
</string>
<string>
campaign_module
</string>
<string>
glossary_module
</string>
<string>
bug_module
</string>
<string>
open_purchase_order_module
</string>
<string>
open_sale_order_module
</string>
<string>
open_internal_order_module
</string>
<string>
web_page_module
</string>
<string>
web_site_module
</string>
<string>
external_source_module
</string>
<string>
image_module
</string>
<string>
document_module
</string>
<string>
document_ingestion_module
</string>
<string>
knowledge_pad_module
</string>
<string>
accounting_module
</string>
<string>
account_module
</string>
<string>
computer_module
</string>
<string>
tax_module
</string>
<string>
discount_module
</string>
<string>
project_module
</string>
<string>
task_report_module
</string>
<string>
task_module
</string>
<string>
requirement_module
</string>
<string>
credential_request_module
</string>
<string>
credential_recovery_module
</string>
<string>
credential_update_module
</string>
<string>
system_event_module
</string>
<string>
software_publication_module
</string>
<string>
software_product_module
</string>
<string>
software_licence_module
</string>
<string>
software_release_module
</string>
<string>
free_fiber_request_module
</string>
<string>
software_instance_module
</string>
<string>
hosting_subscription_module
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
periodicity_day_frequency
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
periodicity_hour
</string>
</key>
<value>
<tuple>
<int>
0
</int>
</tuple>
</value>
</item>
<item>
<key>
<string>
periodicity_hour_frequency
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
periodicity_minute
</string>
</key>
<value>
<tuple>
<int>
0
</int>
</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>
1230768000.0
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
periodicity_week
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
periodicity_week_day
</string>
</key>
<value>
<tuple>
<string>
Sunday
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
periodicity_week_frequency
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Alarm
</string>
</value>
</item>
<item>
<key>
<string>
report_method_id
</string>
</key>
<value>
<string>
Alarm_viewConsistencyCheckReport
</string>
</value>
</item>
<item>
<key>
<string>
solve_method_id
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Vifib Consistency Check
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/vifib_slap/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
e22873bd
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
<portal_type
id=
"Computer Partition"
>
<portal_type
id=
"Computer Partition"
>
<item>
ComputerPartition
</item>
<item>
ComputerPartition
</item>
</portal_type>
</portal_type>
<portal_type
id=
"Hosting Subscription"
>
<item>
VariationRange
</item>
</portal_type>
<portal_type
id=
"System Preference"
>
<portal_type
id=
"System Preference"
>
<item>
VifibSystemPreference
</item>
<item>
VifibSystemPreference
</item>
</portal_type>
</portal_type>
...
...
master/bt5/vifib_slap/SkinTemplateItem/portal_skins/vifib_slap/Alarm_buildVifibPath.xml
View file @
e22873bd
...
@@ -60,7 +60,7 @@ for business_process in [\n
...
@@ -60,7 +60,7 @@ for business_process in [\n
</item>
</item>
<item>
<item>
<key>
<string>
_params
</string>
</key>
<key>
<string>
_params
</string>
</key>
<value>
<string>
fixit, tag, param
s
</string>
</value>
<value>
<string>
*args, **kwarg
s
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
...
...
master/bt5/vifib_slap/bt/dependency_list
View file @
e22873bd
vifib_base
vifib_base
vifib_core
vifib_core
\ No newline at end of file
vifib_open_trade
\ No newline at end of file
master/bt5/vifib_slap/bt/revision
View file @
e22873bd
489
495
\ No newline at end of file
\ No newline at end of file
master/bt5/vifib_slap/bt/template_path_list
View file @
e22873bd
portal_alarms/confirm_ordered_sale_order
portal_alarms/confirm_ordered_sale_order
portal_alarms/confirm_ordered_sale_order/**
portal_alarms/stop_planned_sale_invoice_transaction
portal_alarms/stop_planned_sale_invoice_transaction
portal_alarms/
stop_planned_sale_invoice_transaction/**
portal_alarms/
vifib_check_consistency
portal_alarms/vifib_trigger_build
portal_alarms/vifib_trigger_build
portal_alarms/vifib_trigger_build/**
\ No newline at end of file
master/bt5/vifib_slap/bt/template_portal_type_property_sheet_list
View file @
e22873bd
Computer Partition | ComputerPartition
Computer Partition | ComputerPartition
Hosting Subscription | VariationRange
System Preference | VifibSystemPreference
System Preference | VifibSystemPreference
Virtio Partition | ComputerPartition
Virtio Partition | ComputerPartition
\ No newline at end of file
master/product/Vifib/Tool/SlapTool.py
View file @
e22873bd
...
@@ -825,8 +825,15 @@ class SlapTool(BaseTool):
...
@@ -825,8 +825,15 @@ class SlapTool(BaseTool):
requested_software_instance
,
**
query_kw
)
requested_software_instance
,
**
query_kw
)
if
movement
is
None
:
if
movement
is
None
:
raise
SoftwareInstanceNotReady
raise
SoftwareInstanceNotReady
software_instance
=
SoftwareInstance
(
parameter_dict
=
self
.
_getSalePackingListLineAsSoftwareInstance
(
movement
)
**
self
.
_getSalePackingListLineAsSoftwareInstance
(
movement
))
software_instance
=
SoftwareInstance
(
**
parameter_dict
)
if
shared
:
slave_instance
=
parameter_dict
.
get
(
"slave_instance_list"
)[
0
]
software_instance
.
_parameter_dict
=
self
.
_instanceXmlToDict
(
slave_instance
.
pop
(
'xml'
))
software_instance
.
_connection_dict
=
self
.
_instanceXmlToDict
(
slave_instance
.
pop
(
'connection_xml'
))
return
xml_marshaller
.
xml_marshaller
.
dumps
(
software_instance
)
return
xml_marshaller
.
xml_marshaller
.
dumps
(
software_instance
)
####################################################
####################################################
...
...
master/product/Vifib/tests/VifibMixin.py
View file @
e22873bd
...
@@ -28,7 +28,8 @@
...
@@ -28,7 +28,8 @@
##############################################################################
##############################################################################
import
transaction
import
transaction
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
AccessControl.SecurityManagement
import
newSecurityManager
from
AccessControl.SecurityManagement
import
newSecurityManager
,
\
getSecurityManager
,
setSecurityManager
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
...
@@ -76,6 +77,7 @@ class testVifibMixin(ERP5TypeTestCase):
...
@@ -76,6 +77,7 @@ class testVifibMixin(ERP5TypeTestCase):
'erp5_invoicing'
,
'erp5_invoicing'
,
'erp5_ods_style'
,
'erp5_ods_style'
,
'erp5_odt_style'
,
'erp5_odt_style'
,
'erp5_rss_style'
,
'erp5_ooo_import'
,
'erp5_ooo_import'
,
'erp5_simplified_invoicing'
,
'erp5_simplified_invoicing'
,
'erp5_legacy_tax_system'
,
'erp5_legacy_tax_system'
,
...
@@ -92,11 +94,11 @@ class testVifibMixin(ERP5TypeTestCase):
...
@@ -92,11 +94,11 @@ class testVifibMixin(ERP5TypeTestCase):
'vifib_mysql_innodb_catalog'
,
'vifib_mysql_innodb_catalog'
,
'vifib_core'
,
'vifib_core'
,
'vifib_base'
,
'vifib_base'
,
'vifib_open_trade'
,
'vifib_slap'
,
'vifib_slap'
,
'vifib_crm'
,
'vifib_crm'
,
'vifib_software_pdm'
,
'vifib_software_pdm'
,
'vifib_web'
,
'vifib_web'
,
'vifib_open_trade'
,
'vifib_l10n_fr'
,
'vifib_l10n_fr'
,
'vifib_data'
,
'vifib_data'
,
'vifib_data_category'
,
'vifib_data_category'
,
...
@@ -327,3 +329,51 @@ class testVifibMixin(ERP5TypeTestCase):
...
@@ -327,3 +329,51 @@ class testVifibMixin(ERP5TypeTestCase):
def
stepLogout
(
self
,
**
kw
):
def
stepLogout
(
self
,
**
kw
):
self
.
logout
()
self
.
logout
()
def
stepTriggerBuild
(
self
,
**
kw
):
self
.
portal
.
portal_alarms
.
vifib_trigger_build
.
activeSense
()
def
stepCheckSiteConsistency
(
self
,
**
kw
):
self
.
portal
.
portal_alarms
.
vifib_check_consistency
.
activeSense
()
transaction
.
commit
()
super
(
testVifibMixin
,
self
).
stepTic
(
**
kw
)
self
.
assertEqual
([],
self
.
portal
.
portal_alarms
.
vifib_check_consistency
\
.
Alarm_getConsistencyCheckReportLineList
())
self
.
assertFalse
(
self
.
portal
.
portal_alarms
.
vifib_check_consistency
.
sense
())
def
stepTic
(
self
,
**
kw
):
def
build
():
sm
=
getSecurityManager
()
self
.
login
()
try
:
if
'vifib_trigger_build'
in
self
.
portal
.
portal_alarms
.
objectIds
():
self
.
portal
.
portal_alarms
.
vifib_trigger_build
.
Alarm_buildVifibPath
()
finally
:
setSecurityManager
(
sm
)
if
kw
.
get
(
'sequence'
,
None
)
is
None
:
# in case of using not in sequence commit transaction
transaction
.
commit
()
# trigger build before tic
build
()
transaction
.
commit
()
super
(
testVifibMixin
,
self
).
stepTic
(
**
kw
)
# retrigger build after tic
build
()
transaction
.
commit
()
# tic after build
super
(
testVifibMixin
,
self
).
stepTic
(
**
kw
)
# there shall be no divergency
current_skin
=
self
.
app
.
REQUEST
.
get
(
'portal_skin'
,
'View'
)
try
:
# Note: Worklists are cached, so in order to have next correct result
# clear cache
self
.
clearCache
()
self
.
changeSkin
(
'RSS'
)
self
.
assertFalse
(
'to Solve'
in
self
.
portal
.
ERP5Site_viewWorklist
())
finally
:
self
.
changeSkin
(
current_skin
)
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
View file @
e22873bd
...
@@ -7,9 +7,6 @@ from testVifibOpenOrderSimulation import generateTimeFrameList
...
@@ -7,9 +7,6 @@ from testVifibOpenOrderSimulation import generateTimeFrameList
class
TestVifibInstanceHostingRelatedDocument
(
TestVifibSlapWebServiceMixin
):
class
TestVifibInstanceHostingRelatedDocument
(
TestVifibSlapWebServiceMixin
):
def
stepTriggerBuild
(
self
,
sequence
,
**
kw
):
self
.
portal
.
portal_alarms
.
vifib_trigger_build
.
activeSense
()
def
stepCheckSubscriptionSalePackingListCoverage
(
self
,
sequence
,
**
kw
):
def
stepCheckSubscriptionSalePackingListCoverage
(
self
,
sequence
,
**
kw
):
hosting_subscription
=
self
.
portal
.
portal_catalog
.
getResultValue
(
hosting_subscription
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'hosting_subscription_uid'
])
uid
=
sequence
[
'hosting_subscription_uid'
])
...
@@ -673,6 +670,10 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
...
@@ -673,6 +670,10 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
ConfirmPayment
ConfirmPayment
Tic
Tic
CheckPayment
CheckPayment
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
View file @
e22873bd
...
@@ -427,7 +427,11 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
...
@@ -427,7 +427,11 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
\
\
LoginDefaultUser
\
LoginDefaultUser
\
CheckComputerPartitionInstanceHostingSalePackingListStarted
\
CheckComputerPartitionInstanceHostingSalePackingListStarted
\
Logout
\
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapAllocationScope.py
View file @
e22873bd
...
@@ -144,6 +144,9 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -144,6 +144,9 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -257,6 +260,9 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -257,6 +260,9 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -326,6 +332,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -326,6 +332,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -373,6 +383,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -373,6 +383,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -419,6 +433,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -419,6 +433,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckNoRelatedSalePackingListLineForSoftwareInstance
CheckNoRelatedSalePackingListLineForSoftwareInstance
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -492,6 +510,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -492,6 +510,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRequestedComputerPartitionCleanParameterList
CheckRequestedComputerPartitionCleanParameterList
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -532,6 +554,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -532,6 +554,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -637,6 +663,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -637,6 +663,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckRequestedComputerPartitionCleanParameterList
CheckRequestedComputerPartitionCleanParameterList
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -677,6 +707,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -677,6 +707,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -717,6 +751,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -717,6 +751,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
SlapLoginCurrentSoftwareInstance
RequestComputerPartition
RequestComputerPartition
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -833,6 +871,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
...
@@ -833,6 +871,10 @@ class TestVifibSlapAllocationScope(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListStarted
CheckComputerPartitionInstanceHostingSalePackingListStarted
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapBang.py
View file @
e22873bd
...
@@ -207,6 +207,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -207,6 +207,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -265,6 +269,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -265,6 +269,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -283,6 +291,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -283,6 +291,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -331,6 +343,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -331,6 +343,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -572,6 +588,9 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -572,6 +588,9 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -618,6 +637,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -618,6 +637,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -687,6 +710,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
...
@@ -687,6 +710,10 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapBug.py
View file @
e22873bd
...
@@ -12,6 +12,9 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -12,6 +12,9 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
PersonRequestSoftwareInstance
\
PersonRequestSoftwareInstance
\
Tic
\
Tic
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -26,6 +29,9 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -26,6 +29,9 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
RequestTwoAndCheckDifferentResult
\
RequestTwoAndCheckDifferentResult
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -43,6 +49,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -43,6 +49,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListConfirmed
CheckComputerPartitionInstanceHostingSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -53,6 +63,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -53,6 +63,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
.
prepare_stopped_computer_partition_sequence_string
+
"""
.
prepare_stopped_computer_partition_sequence_string
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
RequestSoftwareInstanceStartCheckSerializeIsCalled
RequestSoftwareInstanceStartCheckSerializeIsCalled
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -70,6 +84,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -70,6 +84,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -80,6 +98,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -80,6 +98,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
.
prepare_installed_computer_partition_sequence_string
+
"""
.
prepare_installed_computer_partition_sequence_string
+
"""
LoginTestVifibCustomer
LoginTestVifibCustomer
RequestSoftwareInstanceDestroyCheckSerializeIsCalled
RequestSoftwareInstanceDestroyCheckSerializeIsCalled
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -112,6 +134,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -112,6 +134,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListStarted
CheckComputerPartitionInstanceHostingSalePackingListStarted
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
...
@@ -464,6 +490,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -464,6 +490,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckHostingSubscriptionMultipleComputerAuditor
CheckHostingSubscriptionMultipleComputerAuditor
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -505,6 +535,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -505,6 +535,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
CheckComputerPartitionIsFree
CheckComputerPartitionIsFree
CheckComputerPartitionNoInstanceHostingSalePackingList
CheckComputerPartitionNoInstanceHostingSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -555,6 +589,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -555,6 +589,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionIsFree
CheckComputerPartitionIsFree
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -641,6 +679,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -641,6 +679,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionIsFree
CheckComputerPartitionIsFree
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -801,6 +843,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -801,6 +843,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser # login as superuser in order to work in erp5
LoginDefaultUser # login as superuser in order to work in erp5
DirectRequestComputerPartitionRaisesDisconnectedSoftwareTree
DirectRequestComputerPartitionRaisesDisconnectedSoftwareTree
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -959,6 +1005,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -959,6 +1005,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser # login as superuser in order to work in erp5
LoginDefaultUser # login as superuser in order to work in erp5
DirectRequestComputerPartitionRaisesCyclicSoftwareTree
DirectRequestComputerPartitionRaisesCyclicSoftwareTree
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
import
erp5.document.SoftwareInstance
import
erp5.document.SoftwareInstance
...
@@ -1097,6 +1147,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1097,6 +1147,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser # login as superuser in order to work in erp5
LoginDefaultUser # login as superuser in order to work in erp5
DirectRequestComputerPartitionRaisesValueError
DirectRequestComputerPartitionRaisesValueError
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1147,6 +1201,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1147,6 +1201,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
SoftwareInstanceSaleOrderConfirmRaisesValueError
SoftwareInstanceSaleOrderConfirmRaisesValueError
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1236,6 +1294,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1236,6 +1294,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
CheckComputerPartitionNoInstanceHostingSalePackingList
CheckComputerPartitionNoInstanceHostingSalePackingList
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1268,6 +1330,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1268,6 +1330,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1336,6 +1402,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1336,6 +1402,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInTable
CheckComputerPartitionInTable
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1392,6 +1462,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1392,6 +1462,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInTable
CheckComputerPartitionInTable
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1438,6 +1512,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1438,6 +1512,10 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
# Hosting Subscription shall be defined
# Hosting Subscription shall be defined
CheckNoHostingSubscriptionComputerPartitionLocalRoles
CheckNoHostingSubscriptionComputerPartitionLocalRoles
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
View file @
e22873bd
...
@@ -18,6 +18,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -18,6 +18,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -32,6 +35,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -32,6 +35,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -53,6 +59,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -53,6 +59,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginRandomComputer
\
SlapLoginRandomComputer
\
CheckUnauthorizedSlapGetComputerPartitionListCall
\
CheckUnauthorizedSlapGetComputerPartitionListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -71,6 +80,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -71,6 +80,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginRandomComputer
\
SlapLoginRandomComputer
\
CheckUnauthorizedSlapGetComputerPartitionListCall
\
CheckUnauthorizedSlapGetComputerPartitionListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -90,6 +102,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -90,6 +102,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -110,6 +125,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -110,6 +125,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckUnauthorizedSlapGetComputerPartitionListCall
\
CheckUnauthorizedSlapGetComputerPartitionListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
try
:
try
:
...
@@ -141,6 +159,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -141,6 +159,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -156,6 +177,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -156,6 +177,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
CheckSuccessComputerGetComputerPartitionCall
\
CheckSuccessComputerGetComputerPartitionCall
\
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -170,6 +194,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -170,6 +194,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetComputerPartitionCall
\
CheckSuccessComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -193,6 +220,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -193,6 +220,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -218,6 +248,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -218,6 +248,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -238,6 +271,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -238,6 +271,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -252,6 +288,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -252,6 +288,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetComputerPartitionCall
\
CheckSuccessComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -266,6 +305,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -266,6 +305,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -359,6 +401,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -359,6 +401,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -373,6 +418,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -373,6 +418,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetComputerPartitionCall
\
CheckSuccessComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -387,6 +435,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -387,6 +435,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -407,6 +458,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -407,6 +458,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -421,6 +475,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -421,6 +475,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetComputerPartitionCall
\
CheckSuccessComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -441,6 +498,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -441,6 +498,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetComputerPartitionCall
\
CheckSuccessComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -463,6 +523,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -463,6 +523,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetComputerPartitionCall
\
CheckSuccessComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -477,6 +540,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -477,6 +540,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetComputerPartitionCall
\
CheckEmptyComputerGetComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -498,6 +564,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -498,6 +564,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -513,6 +582,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -513,6 +582,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -528,6 +600,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -528,6 +600,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -543,6 +618,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -543,6 +618,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -558,6 +636,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -558,6 +636,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -585,6 +666,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -585,6 +666,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStoppedComputerPartitionGetStateCall
\
CheckStoppedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -646,6 +730,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
...
@@ -646,6 +730,9 @@ class TestVifibSlapComputerGetComputerPartitionList(TestVifibSlapWebServiceMixin
Tic
Tic
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
View file @
e22873bd
...
@@ -20,6 +20,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -20,6 +20,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
CheckUnexistingComputer
\
CheckUnexistingComputer
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -39,6 +42,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -39,6 +42,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
CheckUnauthorizedComputerGetSoftwareReleaseListCall
\
CheckUnauthorizedComputerGetSoftwareReleaseListCall
\
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -53,6 +59,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -53,6 +59,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -72,6 +81,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -72,6 +81,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -91,6 +103,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -91,6 +103,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckUnauthorizedComputerGetSoftwareReleaseListCall
\
CheckUnauthorizedComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
try
:
try
:
...
@@ -112,6 +127,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -112,6 +127,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetSoftwareReleaseListCall
\
CheckSuccessComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -130,6 +148,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -130,6 +148,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -148,6 +169,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -148,6 +169,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetSoftwareReleaseListCall
\
CheckSuccessComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -168,6 +192,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -168,6 +192,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -190,6 +217,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -190,6 +217,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -205,6 +235,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -205,6 +235,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -224,6 +257,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -224,6 +257,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -243,6 +279,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -243,6 +279,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -264,6 +303,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -264,6 +303,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -287,6 +329,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -287,6 +329,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
CheckEmptyComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -316,6 +361,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -316,6 +361,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
CheckSuccessComputerGetSoftwareReleaseListCall
\
CheckSuccessComputerGetSoftwareReleaseListCall
\
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -342,6 +390,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
...
@@ -342,6 +390,9 @@ class TestVifibSlapComputerGetSoftwareReleaseList(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerGetSoftwareReleaseListCall
\
CheckSuccessComputerGetSoftwareReleaseListCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionAvailable.py
View file @
e22873bd
...
@@ -17,6 +17,10 @@ class TestVifibSlapComputerPartitionAvailable(TestVifibSlapWebServiceMixin):
...
@@ -17,6 +17,10 @@ class TestVifibSlapComputerPartitionAvailable(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckNotFoundComputerPartitionAvailableAfterRegisterCall
CheckNotFoundComputerPartitionAvailableAfterRegisterCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -27,7 +31,11 @@ class TestVifibSlapComputerPartitionAvailable(TestVifibSlapWebServiceMixin):
...
@@ -27,7 +31,11 @@ class TestVifibSlapComputerPartitionAvailable(TestVifibSlapWebServiceMixin):
list state to stopped.
list state to stopped.
"""
"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_installed_computer_partition_sequence_string
sequence_string
=
self
.
prepare_installed_computer_partition_sequence_string
+
"""
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -47,6 +55,10 @@ class TestVifibSlapComputerPartitionAvailable(TestVifibSlapWebServiceMixin):
...
@@ -47,6 +55,10 @@ class TestVifibSlapComputerPartitionAvailable(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceSetupSalePackingListStopped
CheckComputerPartitionInstanceSetupSalePackingListStopped
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionBuilding.py
View file @
e22873bd
...
@@ -17,6 +17,9 @@ class TestVifibSlapComputerPartitionBuilding(TestVifibSlapWebServiceMixin):
...
@@ -17,6 +17,9 @@ class TestVifibSlapComputerPartitionBuilding(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckNotFoundComputerPartitionBuildingAfterRegisterCall
\
CheckNotFoundComputerPartitionBuildingAfterRegisterCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -27,7 +30,11 @@ class TestVifibSlapComputerPartitionBuilding(TestVifibSlapWebServiceMixin):
...
@@ -27,7 +30,11 @@ class TestVifibSlapComputerPartitionBuilding(TestVifibSlapWebServiceMixin):
list state to started.
list state to started.
"""
"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_building_computer_partition_sequence_string
sequence_string
=
self
.
prepare_building_computer_partition_sequence_string
+
"""
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -46,6 +53,10 @@ class TestVifibSlapComputerPartitionBuilding(TestVifibSlapWebServiceMixin):
...
@@ -46,6 +53,10 @@ class TestVifibSlapComputerPartitionBuilding(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceSetupSalePackingListStarted
CheckComputerPartitionInstanceSetupSalePackingListStarted
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionConnection.py
View file @
e22873bd
...
@@ -58,6 +58,10 @@ class TestVifibSlapComputerPartitionConnection(TestVifibSlapWebServiceMixin):
...
@@ -58,6 +58,10 @@ class TestVifibSlapComputerPartitionConnection(TestVifibSlapWebServiceMixin):
ConfirmOrderedSaleOrderActiveSense
ConfirmOrderedSaleOrderActiveSense
Tic
Tic
CheckGetSetConnectionDict
CheckGetSetConnectionDict
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionError.py
View file @
e22873bd
...
@@ -29,6 +29,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -29,6 +29,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckNotFoundComputerPartitionErrorAfterRegisterCall
\
CheckNotFoundComputerPartitionErrorAfterRegisterCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -54,6 +57,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -54,6 +57,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -73,6 +79,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -73,6 +79,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -92,6 +101,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -92,6 +101,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -111,6 +123,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -111,6 +123,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -136,6 +151,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -136,6 +151,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -155,6 +173,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -155,6 +173,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -174,6 +195,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -174,6 +195,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -193,6 +217,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -193,6 +217,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -212,6 +239,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -212,6 +239,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -237,6 +267,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -237,6 +267,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -256,6 +289,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -256,6 +289,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
CheckConfirmedSalePackingList
\
CheckConfirmedSalePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -279,6 +315,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -279,6 +315,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
SelectCurrentlyUsedSalePackingListUid
\
SelectCurrentlyUsedSalePackingListUid
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -301,6 +340,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -301,6 +340,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
CheckStartedSalePackingList
\
CheckStartedSalePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -324,6 +366,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -324,6 +366,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
CheckStoppedSalePackingList
\
CheckStoppedSalePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -348,6 +393,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -348,6 +393,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
CheckSalePackingListNoErrorText
\
CheckSalePackingListNoErrorText
\
CheckDeliveredSalePackingList
\
CheckDeliveredSalePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -371,6 +419,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -371,6 +419,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
SelectCurrentlyUsedSalePackingListUid
\
SelectCurrentlyUsedSalePackingListUid
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -396,6 +447,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -396,6 +447,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
SelectCurrentlyUsedSalePackingListUid
\
SelectCurrentlyUsedSalePackingListUid
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -421,6 +475,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -421,6 +475,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
SelectCurrentlyUsedSalePackingListUid
\
SelectCurrentlyUsedSalePackingListUid
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -447,6 +504,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -447,6 +504,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
SelectCurrentlyUsedSalePackingListUid
\
SelectCurrentlyUsedSalePackingListUid
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -474,6 +534,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -474,6 +534,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
SelectCurrentlyUsedSalePackingListUid
\
SelectCurrentlyUsedSalePackingListUid
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -504,6 +567,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
...
@@ -504,6 +567,9 @@ class TestVifibSlapComputerPartitionError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSalePackingListErrorText
\
CheckSalePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionGetInstanceParameterDict.py
View file @
e22873bd
...
@@ -17,6 +17,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
...
@@ -17,6 +17,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -31,6 +34,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
...
@@ -31,6 +34,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -50,6 +56,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
...
@@ -50,6 +56,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -64,6 +73,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
...
@@ -64,6 +73,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -78,6 +90,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
...
@@ -78,6 +90,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
CheckSuccessComputerPartitionGetInstanceParameterDictCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -92,6 +107,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
...
@@ -92,6 +107,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
CheckMinimalParametersTransmitted
\
CheckMinimalParametersTransmitted
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -110,6 +128,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
...
@@ -110,6 +128,9 @@ class TestVifibSlapComputerPartitionGetInstanceParameterDict(TestVifibSlapWebSer
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
CheckComputerPartitionGetInstanceParameterDictResult
\
CheckComputerPartitionGetInstanceParameterDictResult
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionGetSoftwareRelease.py
View file @
e22873bd
...
@@ -17,6 +17,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
...
@@ -17,6 +17,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckNotFoundComputerPartitionGetSoftwareReleaseAfterRegisterCall
\
CheckNotFoundComputerPartitionGetSoftwareReleaseAfterRegisterCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -31,6 +34,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
...
@@ -31,6 +34,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -50,6 +56,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
...
@@ -50,6 +56,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -64,6 +73,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
...
@@ -64,6 +73,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -78,6 +90,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
...
@@ -78,6 +90,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -95,6 +110,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
...
@@ -95,6 +110,9 @@ class TestVifibSlapComputerPartitionGetSoftwareRelease(TestVifibSlapWebServiceMi
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
CheckSuccessComputerPartitionGetSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionGetState.py
View file @
e22873bd
...
@@ -17,6 +17,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -17,6 +17,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckDestroyedComputerPartitionGetStateCall
\
CheckDestroyedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -31,6 +34,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -31,6 +34,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStoppedComputerPartitionGetStateCall
\
CheckStoppedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -50,6 +56,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -50,6 +56,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckDestroyedComputerPartitionGetStateCall
\
CheckDestroyedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -64,6 +73,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -64,6 +73,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStoppedComputerPartitionGetStateCall
\
CheckStoppedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -78,6 +90,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -78,6 +90,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStoppedComputerPartitionGetStateCall
\
CheckStoppedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -104,6 +119,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -104,6 +119,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckDestroyedComputerPartitionGetStateCall
\
CheckDestroyedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -118,6 +136,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -118,6 +136,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -137,6 +158,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -137,6 +158,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStoppedComputerPartitionGetStateCall
\
CheckStoppedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -151,6 +175,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -151,6 +175,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -165,6 +192,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -165,6 +192,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStoppedComputerPartitionGetStateCall
\
CheckStoppedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -179,6 +209,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -179,6 +209,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStoppedComputerPartitionGetStateCall
\
CheckStoppedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -193,6 +226,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -193,6 +226,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckDestroyedComputerPartitionGetStateCall
\
CheckDestroyedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -211,6 +247,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -211,6 +247,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckDestroyedComputerPartitionGetStateCall
\
CheckDestroyedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -230,6 +269,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -230,6 +269,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckDestroyedComputerPartitionGetStateCall
\
CheckDestroyedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -250,6 +292,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -250,6 +292,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckDestroyedComputerPartitionGetStateCall
\
CheckDestroyedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -265,6 +310,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -265,6 +310,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckDestroyedComputerPartitionGetStateCall
\
CheckDestroyedComputerPartitionGetStateCall
\
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -279,6 +327,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -279,6 +327,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -297,6 +348,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -297,6 +348,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -311,6 +365,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -311,6 +365,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -325,6 +382,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -325,6 +382,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -339,6 +399,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -339,6 +399,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -365,6 +428,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
...
@@ -365,6 +428,9 @@ class TestVifibSlapComputerPartitionGetState(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckStartedComputerPartitionGetStateCall
\
CheckStartedComputerPartitionGetStateCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
View file @
e22873bd
...
@@ -22,6 +22,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -22,6 +22,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
RequestComputerPartition
\
RequestComputerPartition
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -63,6 +66,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -63,6 +66,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckWriteRequestedSoftwareInstance
\
CheckWriteRequestedSoftwareInstance
\
Tic
\
Tic
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -128,6 +134,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -128,6 +134,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckComputerPartitionInstanceHostingSalePackingListStarted
\
CheckComputerPartitionInstanceHostingSalePackingListStarted
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -195,6 +204,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -195,6 +204,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
stepCheckComputerPartitionNoInstanceHostingSalePackingList
\
stepCheckComputerPartitionNoInstanceHostingSalePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -292,6 +304,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -292,6 +304,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInstanceHostingSalePackingListDelivered
\
CheckComputerPartitionInstanceHostingSalePackingListDelivered
\
Logout
\
Logout
\
\
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -331,6 +346,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -331,6 +346,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
\
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -412,6 +430,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -412,6 +430,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckComputerPartitionInstanceHostingSalePackingListDelivered
\
CheckComputerPartitionInstanceHostingSalePackingListDelivered
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -448,6 +469,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -448,6 +469,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
CheckRequestedComputerPartitionRequestedParameter
\
CheckRequestedComputerPartitionRequestedParameter
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -494,6 +518,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -494,6 +518,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLoginCurrentSoftwareInstance
\
SlapLoginCurrentSoftwareInstance
\
CheckRequestedComputerPartitionCleanParameterList
\
CheckRequestedComputerPartitionCleanParameterList
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -586,6 +613,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -586,6 +613,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckComputerPartitionChildrenB
CheckComputerPartitionChildrenB
CheckComputerPartitionRequestedDoubleScenarioChildrenB
CheckComputerPartitionRequestedDoubleScenarioChildrenB
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -676,6 +707,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -676,6 +707,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckComputerPartitionChildrenANoChild
CheckComputerPartitionChildrenANoChild
CheckComputerPartitionChildrenB
CheckComputerPartitionChildrenB
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -721,6 +756,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -721,6 +756,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckComputerPartitionChildrenA
CheckComputerPartitionChildrenA
CheckComputerPartitionChildrenB
CheckComputerPartitionChildrenB
CheckComputerPartitionRequestedDoubleScenario
CheckComputerPartitionRequestedDoubleScenario
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -790,6 +829,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -790,6 +829,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckComputerPartitionChildrenAChild
CheckComputerPartitionChildrenAChild
CheckComputerPartitionChildrenBChild
CheckComputerPartitionChildrenBChild
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -847,6 +890,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -847,6 +890,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckComputerPartitionChildrenAChild
CheckComputerPartitionChildrenAChild
CheckComputerPartitionChildrenBChild
CheckComputerPartitionChildrenBChild
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -870,6 +917,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -870,6 +917,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
ConfirmSaleOrderOrderedToCheckSerializeCalledOnSelected
\
ConfirmSaleOrderOrderedToCheckSerializeCalledOnSelected
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
...
@@ -907,6 +957,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -907,6 +957,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
RequestComputerPartition
\
RequestComputerPartition
\
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
...
@@ -937,6 +990,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -937,6 +990,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
CheckSlaveInstanceListFromOneComputerPartition
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -993,6 +1050,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -993,6 +1050,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckComputerPartitionInstanceHostingSalePackingListStarted
\
CheckComputerPartitionInstanceHostingSalePackingListStarted
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1029,6 +1089,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1029,6 +1089,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
CheckSlaveInstanceListFromOneComputerPartition
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1063,6 +1127,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1063,6 +1127,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInstanceHostingSalePackingListConfirmed
CheckComputerPartitionInstanceHostingSalePackingListConfirmed
SetDeliveryLineAmountEqualZero
SetDeliveryLineAmountEqualZero
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1098,6 +1166,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1098,6 +1166,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckTwoSlaveInstanceListFromOneComputerPartition
CheckTwoSlaveInstanceListFromOneComputerPartition
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1117,6 +1189,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1117,6 +1189,10 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
SelectNewSoftwareReleaseUri
SelectNewSoftwareReleaseUri
RequestSlaveInstanceFromComputerPartitionNotFoundError
RequestSlaveInstanceFromComputerPartitionNotFoundError
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1138,6 +1214,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1138,6 +1214,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
DirectRequestComputerPartitionHttpRequestTimeoutResponseWithoutStateAndSharedTrue
\
DirectRequestComputerPartitionHttpRequestTimeoutResponseWithoutStateAndSharedTrue
\
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -1193,10 +1272,125 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1193,10 +1272,125 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
Tic
\
Tic
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
def
stepCheckConnectionXmlOfSlaveInstanceFromComputerPartition
(
self
,
sequence
):
computer_reference
=
sequence
[
"computer_reference"
]
computer_partition_reference
=
sequence
[
"computer_partition_reference"
]
slave_reference
=
sequence
[
"requested_reference"
]
slave_software_release
=
sequence
[
"software_release_uri"
]
slave_software_type
=
sequence
[
"requested_software_type"
]
self
.
slap
=
slap
.
slap
()
self
.
slap
.
initializeConnection
(
self
.
server_url
,
timeout
=
None
)
# Get Computer Partition
computer_partition
=
self
.
slap
.
registerComputerPartition
(
computer_reference
,
computer_partition_reference
)
# Get slave
slave_instance
=
computer_partition
.
request
(
software_release
=
slave_software_release
,
software_type
=
slave_software_type
,
partition_reference
=
slave_reference
,
shared
=
True
,
)
self
.
assertEquals
(
sequence
[
"slave_instance_site_url"
],
slave_instance
.
getConnectionParameter
(
"site_url"
))
def
test_SlaveInstance_request_SlaveInstance_From_SoftwareInstance
(
self
):
"""
Check that existing Software Instance can request new Slave Instance
and access to its parameters.
Scenario :
All Software Instances use the same SoftwareRelease.
SoftwareType requested_software_type can act as master instance, slave
instance.
SoftwareType another_requested_software_type can act as Software Instance
requesting a Slave Instance of SoftwareType requested_software_type.
1/ Request instance "Master Instance" with SoftwareType
requested_software_type.
2/ Simulate succesful deployment of instance
3/ Request instance "Normal instance" with SoftwareType
another_requested_software_type.
4/ From "Normal Instance", request a Slave Instance with SoftwareType
requested_software_type.
5/ From "Master Instance", try to set connection XML of Slave Instance
5/ Check that "Normal Instance" can access connection XML of Slave
Instance.
"""
self
.
computer_partition_amount
=
2
sequence_list
=
SequenceList
()
sequence_string
=
\
self
.
prepare_install_requested_computer_partition_sequence_string
+
'
\
Tic
\
SlapLoginCurrentComputer
\
SoftwareInstanceAvailable
\
Tic
\
CheckEmptySlaveInstanceListFromOneComputerPartition
\
\
SelectAnotherRequestedSoftwareType
\
SelectAnotherRequestedReference
\
SlapLoginTestVifibCustomer
\
PersonRequestSlapSoftwareInstancePrepare
\
Tic
\
SlapLogout
\
LoginDefaultUser
\
ConfirmOrderedSaleOrderActiveSense
\
Tic
\
Logout
\
SlapLoginTestVifibCustomer
\
PersonRequestSlapSoftwareInstance
\
Tic
\
SlapLogout
\
LoginDefaultUser
\
SetRequestedComputerPartition
\
SetRequestedComputerPartitionAsCurrentComputerPartition
\
SlapLogout
\
Tic
\
SlapLoginCurrentComputer
\
SoftwareInstanceAvailable
\
Tic
\
\
LoginDefaultUser
\
SetCurrentComputerPartitionFromRequestedComputerPartition
\
SelectSoftwareInstanceFromCurrentComputerPartition
\
Logout
\
SlapLoginCurrentSoftwareInstance
\
SelectRequestedParameterDictRequestedParameter
\
SelectYetAnotherRequestedReference
\
SelectRequestedSoftwaretype
\
RequestSlaveInstanceFromComputerPartition
\
Tic
\
LoginDefaultUser
\
ConfirmOrderedSaleOrderActiveSense
\
Tic
\
Logout
\
RequestSlaveInstanceFromComputerPartition
\
Tic
\
SlapLogout
\
LoginDefaultUser
\
SetComputerPartitionFromRootSoftwareInstance
\
SelectSlaveInstanceFromOneComputerPartition
\
SlapLoginSoftwareInstanceFromCurrentSoftwareInstance
\
SetConnectionXmlToSlaveInstance
\
SlapLogout
\
LoginDefaultUser
\
SetRequestedComputerPartitionAsCurrentComputerPartition
\
SelectSoftwareInstanceFromCurrentComputerPartition
\
Logout
\
SlapLoginCurrentSoftwareInstance
\
CheckConnectionXmlOfSlaveInstanceFromComputerPartition
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
##################################################
##################################################
# ComputerPartition.request - change software type
# ComputerPartition.request - change software type
##################################################
##################################################
...
@@ -1284,6 +1478,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1284,6 +1478,9 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
CheckRequestComputerPartitionWithAnotherSoftwareType
\
CheckRequestComputerPartitionWithAnotherSoftwareType
\
Tic
\
Tic
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionStopped.py
View file @
e22873bd
...
@@ -6,7 +6,12 @@ class TestVifibSlapComputerPartitionStopped(TestVifibSlapWebServiceMixin):
...
@@ -6,7 +6,12 @@ class TestVifibSlapComputerPartitionStopped(TestVifibSlapWebServiceMixin):
def
test_ComputerPartition_stopped
(
self
):
def
test_ComputerPartition_stopped
(
self
):
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
\
sequence_string
=
self
\
.
prepare_stopped_computer_partition_sequence_string
.
prepare_stopped_computer_partition_sequence_string
+
"""
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -33,6 +38,10 @@ class TestVifibSlapComputerPartitionStopped(TestVifibSlapWebServiceMixin):
...
@@ -33,6 +38,10 @@ class TestVifibSlapComputerPartitionStopped(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -60,6 +69,10 @@ class TestVifibSlapComputerPartitionStopped(TestVifibSlapWebServiceMixin):
...
@@ -60,6 +69,10 @@ class TestVifibSlapComputerPartitionStopped(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
View file @
e22873bd
...
@@ -110,6 +110,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -110,6 +110,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckEmptyComputerGetComputerPartitionCall
CheckEmptyComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -152,6 +156,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -152,6 +156,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckEmptyComputerGetComputerPartitionCall
CheckEmptyComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -194,6 +202,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -194,6 +202,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckEmptyComputerGetComputerPartitionCall
CheckEmptyComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -247,6 +259,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -247,6 +259,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInstanceUpdateSalePackingListConfirmed
CheckComputerPartitionInstanceUpdateSalePackingListConfirmed
CheckUpdateSalePackingListErrorText
CheckUpdateSalePackingListErrorText
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -264,6 +280,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -264,6 +280,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -280,6 +300,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -280,6 +300,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -348,6 +372,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -348,6 +372,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -364,6 +392,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -364,6 +392,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -380,6 +412,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -380,6 +412,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -396,6 +432,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -396,6 +432,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -412,6 +452,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -412,6 +452,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -434,6 +478,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -434,6 +478,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -464,6 +512,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -464,6 +512,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -493,6 +545,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -493,6 +545,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -544,6 +600,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -544,6 +600,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList
CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -596,6 +656,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -596,6 +656,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
# it is proven that person data are begin in progress
# it is proven that person data are begin in progress
# but there is no way to request software instance update as...
# but there is no way to request software instance update as...
# ...it does not exists yet
# ...it does not exists yet
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -660,6 +724,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -660,6 +724,10 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -685,6 +753,9 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -685,6 +753,9 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -710,6 +781,9 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -710,6 +781,9 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -735,6 +809,9 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
...
@@ -735,6 +809,9 @@ class TestVifibSlapComputerPartitionUpdate(TestVifibSlapWebServiceMixin):
CheckEmptyComputerGetComputerPartitionCall
CheckEmptyComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
View file @
e22873bd
...
@@ -65,6 +65,10 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
...
@@ -65,6 +65,10 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
SetCurrentPersonSlapRequestedSoftwareInstance
SetCurrentPersonSlapRequestedSoftwareInstance
SoftwareInstanceSaleOrderConfirmRaisesValueError
SoftwareInstanceSaleOrderConfirmRaisesValueError
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -116,6 +120,10 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
...
@@ -116,6 +120,10 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
CheckWriteCurrentSoftwareInstance
CheckWriteCurrentSoftwareInstance
Tic
Tic
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -196,6 +204,10 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
...
@@ -196,6 +204,10 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
CheckPersonRequestSlapSoftwareInstanceWithAnotherSoftwareType
CheckPersonRequestSlapSoftwareInstanceWithAnotherSoftwareType
Tic
Tic
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapRegisterComputer.py
View file @
e22873bd
...
@@ -23,6 +23,9 @@ class TestVifibSlapRegisterComputer(TestVifibSlapWebServiceMixin):
...
@@ -23,6 +23,9 @@ class TestVifibSlapRegisterComputer(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckUnexistingComputer
\
CheckUnexistingComputer
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -43,6 +46,9 @@ class TestVifibSlapRegisterComputer(TestVifibSlapWebServiceMixin):
...
@@ -43,6 +46,9 @@ class TestVifibSlapRegisterComputer(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckSuccessSlapRegisterComputerCall
\
CheckSuccessSlapRegisterComputerCall
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -65,6 +71,9 @@ class TestVifibSlapRegisterComputer(TestVifibSlapWebServiceMixin):
...
@@ -65,6 +71,9 @@ class TestVifibSlapRegisterComputer(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterComputerCall
\
CheckSuccessSlapRegisterComputerCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -94,6 +103,9 @@ class TestVifibSlapRegisterComputer(TestVifibSlapWebServiceMixin):
...
@@ -94,6 +103,9 @@ class TestVifibSlapRegisterComputer(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterComputerCall
\
CheckSuccessSlapRegisterComputerCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapRegisterComputerPartition.py
View file @
e22873bd
...
@@ -23,6 +23,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
...
@@ -23,6 +23,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
SlapLogout
\
SlapLogout
\
Tic
\
Tic
\
CheckUnexistingComputer
\
CheckUnexistingComputer
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -44,6 +47,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
...
@@ -44,6 +47,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckUnauthorizedSlapRegisterComputerPartitionCall
\
CheckUnauthorizedSlapRegisterComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -57,6 +63,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
...
@@ -57,6 +63,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckNotFoundSlapRegisterComputerPartitionCall
\
CheckNotFoundSlapRegisterComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -70,6 +79,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
...
@@ -70,6 +79,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterComputerPartitionCall
\
CheckSuccessSlapRegisterComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -83,6 +95,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
...
@@ -83,6 +95,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterComputerPartitionCall
\
CheckSuccessSlapRegisterComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -98,6 +113,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
...
@@ -98,6 +113,9 @@ class TestVifibSlapRegisterComputerPartition(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterComputerPartitionCall
\
CheckSuccessSlapRegisterComputerPartitionCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapRegisterSoftwareRelease.py
View file @
e22873bd
...
@@ -39,6 +39,9 @@ class TestVifibSlapRegisterSoftwareRelease(TestVifibSlapWebServiceMixin):
...
@@ -39,6 +39,9 @@ class TestVifibSlapRegisterSoftwareRelease(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterSoftwareReleaseCall
\
CheckSuccessSlapRegisterSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -55,6 +58,9 @@ class TestVifibSlapRegisterSoftwareRelease(TestVifibSlapWebServiceMixin):
...
@@ -55,6 +58,9 @@ class TestVifibSlapRegisterSoftwareRelease(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterSoftwareReleaseCall
\
CheckSuccessSlapRegisterSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -74,6 +80,9 @@ class TestVifibSlapRegisterSoftwareRelease(TestVifibSlapWebServiceMixin):
...
@@ -74,6 +80,9 @@ class TestVifibSlapRegisterSoftwareRelease(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterSoftwareReleaseCall
\
CheckSuccessSlapRegisterSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -115,6 +124,9 @@ class TestVifibSlapRegisterSoftwareRelease(TestVifibSlapWebServiceMixin):
...
@@ -115,6 +124,9 @@ class TestVifibSlapRegisterSoftwareRelease(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessSlapRegisterSoftwareReleaseCall
\
CheckSuccessSlapRegisterSoftwareReleaseCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapSoftwareReleaseAvailable.py
View file @
e22873bd
...
@@ -18,6 +18,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
...
@@ -18,6 +18,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
SelectNewSoftwareReleaseUri
\
SelectNewSoftwareReleaseUri
\
CheckNotFoundSoftwareReleaseAvailableAfterRegisterCall
\
CheckNotFoundSoftwareReleaseAvailableAfterRegisterCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -36,6 +39,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
...
@@ -36,6 +39,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckStoppedPurchasePackingList
\
CheckStoppedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -58,6 +64,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
...
@@ -58,6 +64,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckCancelledPurchasePackingList
\
CheckCancelledPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -80,6 +89,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
...
@@ -80,6 +89,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckStoppedPurchasePackingList
\
CheckStoppedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -103,6 +115,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
...
@@ -103,6 +115,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckStoppedPurchasePackingList
\
CheckStoppedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -127,6 +142,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
...
@@ -127,6 +142,9 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckDeliveredPurchasePackingList
\
CheckDeliveredPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -148,7 +166,11 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
...
@@ -148,7 +166,11 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
CheckStoppedPurchasePackingListB
\
CheckStoppedPurchasePackingListB
\
Logout'
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_string
=
self
.
prepare_two_purchase_packing_list
+
'
\
sequence_string
=
self
.
prepare_two_purchase_packing_list
+
'
\
LoginDefaultUser
\
LoginDefaultUser
\
...
@@ -161,7 +183,11 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
...
@@ -161,7 +183,11 @@ class TestVifibSlapSoftwareReleaseAvailable(TestVifibSlapWebServiceMixin):
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
CheckStoppedPurchasePackingListB
\
CheckStoppedPurchasePackingListB
\
Logout'
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
View file @
e22873bd
...
@@ -18,6 +18,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
...
@@ -18,6 +18,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckNotFoundSoftwareReleaseBuildingAfterRegisterCall
\
CheckNotFoundSoftwareReleaseBuildingAfterRegisterCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -36,6 +39,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
...
@@ -36,6 +39,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckStartedPurchasePackingList
\
CheckStartedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -57,6 +63,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
...
@@ -57,6 +63,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckCancelledPurchasePackingList
\
CheckCancelledPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -79,6 +88,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
...
@@ -79,6 +88,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckStartedPurchasePackingList
\
CheckStartedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -102,6 +114,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
...
@@ -102,6 +114,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckStoppedPurchasePackingList
\
CheckStoppedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -126,6 +141,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
...
@@ -126,6 +141,9 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckDeliveredPurchasePackingList
\
CheckDeliveredPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -147,7 +165,11 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
...
@@ -147,7 +165,11 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
CheckStartedPurchasePackingListB
\
CheckStartedPurchasePackingListB
\
Logout'
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_string
=
self
.
prepare_two_purchase_packing_list
+
'
\
sequence_string
=
self
.
prepare_two_purchase_packing_list
+
'
\
LoginDefaultUser
\
LoginDefaultUser
\
...
@@ -160,7 +182,11 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
...
@@ -160,7 +182,11 @@ class TestVifibSlapSoftwareReleaseBuilding(TestVifibSlapWebServiceMixin):
SlapLogout
\
SlapLogout
\
LoginDefaultUser
\
LoginDefaultUser
\
CheckStartedPurchasePackingListB
\
CheckStartedPurchasePackingListB
\
Logout'
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapSoftwareReleaseError.py
View file @
e22873bd
...
@@ -18,6 +18,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
...
@@ -18,6 +18,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
SelectNewSoftwareReleaseUri
\
SelectNewSoftwareReleaseUri
\
CheckNotFoundSoftwareReleaseErrorAfterRegisterCall
\
CheckNotFoundSoftwareReleaseErrorAfterRegisterCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -37,6 +40,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
...
@@ -37,6 +40,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
CheckPurchasePackingListErrorText
\
CheckPurchasePackingListErrorText
\
CheckConfirmedPurchasePackingList
\
CheckConfirmedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -60,6 +66,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
...
@@ -60,6 +66,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
CheckPurchasePackingListNoErrorText
\
CheckPurchasePackingListNoErrorText
\
CheckCancelledPurchasePackingList
\
CheckCancelledPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -83,6 +92,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
...
@@ -83,6 +92,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
CheckPurchasePackingListErrorText
\
CheckPurchasePackingListErrorText
\
CheckStartedPurchasePackingList
\
CheckStartedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -107,6 +119,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
...
@@ -107,6 +119,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
CheckPurchasePackingListNoErrorText
\
CheckPurchasePackingListNoErrorText
\
CheckStoppedPurchasePackingList
\
CheckStoppedPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -132,6 +147,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
...
@@ -132,6 +147,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
CheckPurchasePackingListNoErrorText
\
CheckPurchasePackingListNoErrorText
\
CheckDeliveredPurchasePackingList
\
CheckDeliveredPurchasePackingList
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -157,6 +175,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
...
@@ -157,6 +175,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckPurchasePackingListErrorText
\
CheckPurchasePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_string
=
self
.
prepare_two_purchase_packing_list
+
'
\
sequence_string
=
self
.
prepare_two_purchase_packing_list
+
'
\
...
@@ -174,6 +195,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
...
@@ -174,6 +195,9 @@ class TestVifibSlapSoftwareReleaseError(TestVifibSlapWebServiceMixin):
LoginDefaultUser
\
LoginDefaultUser
\
CheckPurchasePackingListErrorText
\
CheckPurchasePackingListErrorText
\
Logout
\
Logout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
e22873bd
...
@@ -28,7 +28,8 @@
...
@@ -28,7 +28,8 @@
#
#
##############################################################################
##############################################################################
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
AccessControl.SecurityManagement
import
newSecurityManager
,
\
getSecurityManager
,
setSecurityManager
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
...
@@ -194,7 +195,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -194,7 +195,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
open_order
=
self
.
slap
.
registerOpenOrder
()
open_order
=
self
.
slap
.
registerOpenOrder
()
open_order
.
request
(
open_order
.
request
(
software_release
=
software_release
,
software_release
=
software_release
,
software_type
=
sequence
.
get
(
'software_type'
,
'software_type'
),
software_type
=
sequence
.
get
(
'
requested_
software_type'
,
'software_type'
),
partition_reference
=
sequence
.
get
(
'requested_reference'
,
partition_reference
=
sequence
.
get
(
'requested_reference'
,
'requested_reference'
),
'requested_reference'
),
partition_parameter_kw
=
sequence
.
get
(
'requested_parameter_dict'
,
{}),
partition_parameter_kw
=
sequence
.
get
(
'requested_parameter_dict'
,
{}),
...
@@ -209,7 +210,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -209,7 +210,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
open_order
=
self
.
slap
.
registerOpenOrder
()
open_order
=
self
.
slap
.
registerOpenOrder
()
requested_slap_computer_partition
=
open_order
.
request
(
requested_slap_computer_partition
=
open_order
.
request
(
software_release
=
software_release
,
software_release
=
software_release
,
software_type
=
sequence
.
get
(
'software_type'
,
'software_type'
),
software_type
=
sequence
.
get
(
'
requested_
software_type'
,
'software_type'
),
partition_reference
=
sequence
.
get
(
'requested_reference'
,
partition_reference
=
sequence
.
get
(
'requested_reference'
,
'requested_reference'
),
'requested_reference'
),
partition_parameter_kw
=
sequence
.
get
(
'requested_parameter_dict'
,
{}),
partition_parameter_kw
=
sequence
.
get
(
'requested_parameter_dict'
,
{}),
...
@@ -220,6 +221,43 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -220,6 +221,43 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
requested_computer_partition_reference
=
\
requested_computer_partition_reference
=
\
requested_slap_computer_partition
.
getId
())
requested_slap_computer_partition
.
getId
())
def
stepSetCurrentComputerPartitionFromRequestedComputerPartition
(
self
,
sequence
):
sequence
[
'computer_partition_reference'
]
=
\
sequence
[
"requested_computer_partition_reference"
]
def
stepSelectSoftwareInstanceFromCurrentComputerPartition
(
self
,
sequence
):
computer_partition_reference
=
sequence
[
"computer_partition_reference"
]
computer_partition
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Computer Partition"
,
reference
=
computer_partition_reference
)
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Sale Packing List Line"
,
aggregate_uid
=
computer_partition
.
getUid
()).
getAggregateValue
(
portal_type
=
"Software Instance"
)
sequence
.
edit
(
software_instance_uid
=
software_instance
.
getUid
(),
software_instance_reference
=
software_instance
.
getReference
(),
hosting_subscription_uid
=
software_instance
.
getAggregateRelatedValue
(
portal_type
=
'Sale Order Line'
).
getAggregateValue
(
portal_type
=
'Hosting Subscription'
).
getUid
())
def
stepSelectSoftwareInstanceFromCurrentSlaveInstance
(
self
,
sequence
):
slave_instance_reference
=
sequence
[
"software_instance_reference"
]
slave_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
self
.
slave_instance_portal_type
,
reference
=
slave_instance_reference
)
computer_partition
=
slave_instance
.
getAggregateRelatedValue
(
portal_type
=
"Sale Packing List Line"
).
getAggregateValue
(
portal_type
=
"Computer Partition"
)
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
portal_type
=
"Sale Packing List Line"
,
aggregate_uid
=
computer_partition
.
getUid
(),
aggregatep_portal_type
=
self
.
software_instance_portal_type
,
).
getAggregateValue
(
portal_type
=
self
.
software_instance_portal_type
)
sequence
.
edit
(
software_instance_uid
=
software_instance
.
getUid
(),
software_instance_reference
=
software_instance
.
getReference
())
def
stepSetCurrentPersonSlapRequestedSoftwareInstance
(
self
,
sequence
,
**
kw
):
def
stepSetCurrentPersonSlapRequestedSoftwareInstance
(
self
,
sequence
,
**
kw
):
cleanup_resource
=
self
.
portal
.
portal_preferences
\
cleanup_resource
=
self
.
portal
.
portal_preferences
\
.
getPreferredInstanceCleanupResource
()
.
getPreferredInstanceCleanupResource
()
...
@@ -510,6 +548,17 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -510,6 +548,17 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
portal_type
=
'Sale Order Line'
).
getAggregateValue
(
portal_type
=
'Sale Order Line'
).
getAggregateValue
(
portal_type
=
'Hosting Subscription'
).
getUid
())
portal_type
=
'Hosting Subscription'
).
getUid
())
def
stepSetComputerPartitionFromRootSoftwareInstance
(
self
,
sequence
):
computer_partition
=
self
.
portal
.
portal_catalog
.
getResultValue
(
title
=
sequence
[
'root_software_instance_title'
],
portal_type
=
"Software Instance"
).
getAggregateRelatedValue
(
portal_type
=
"Sale Packing List Line"
).
getAggregateValue
(
portal_type
=
"Computer Partition"
)
sequence
.
edit
(
computer_partition_uid
=
computer_partition
.
getUid
(),
computer_partition_reference
=
computer_partition
.
getReference
()
)
def
stepSetSelectedComputerPartition
(
self
,
sequence
,
**
kw
):
def
stepSetSelectedComputerPartition
(
self
,
sequence
,
**
kw
):
"""Sets in sequence computer partition parameters related to current
"""Sets in sequence computer partition parameters related to current
software instance"""
software instance"""
...
@@ -786,7 +835,13 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -786,7 +835,13 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
computer_partition
.
building
()
computer_partition
.
building
()
def
stepConfirmOrderedSaleOrderActiveSense
(
self
,
**
kw
):
def
stepConfirmOrderedSaleOrderActiveSense
(
self
,
**
kw
):
self
.
portal
.
portal_alarms
.
confirm_ordered_sale_order
.
activeSense
()
sm
=
getSecurityManager
()
self
.
login
()
try
:
self
.
portal
.
portal_alarms
.
confirm_ordered_sale_order
\
.
Alarm_confirmOrderedSaleOrder
()
finally
:
setSecurityManager
(
sm
)
########################################
########################################
# Steps -- REMOTE_USER logins
# Steps -- REMOTE_USER logins
...
@@ -1601,6 +1656,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1601,6 +1656,9 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
sequence
.
edit
(
requested_reference
=
'requested_reference'
)
sequence
.
edit
(
requested_reference
=
'requested_reference'
)
sequence
.
edit
(
requested_software_type
=
'requested_software_type'
)
sequence
.
edit
(
requested_software_type
=
'requested_software_type'
)
def
stepSelectRequestedSoftwaretype
(
self
,
sequence
,
**
kw
):
sequence
.
edit
(
requested_software_type
=
'requested_software_type'
)
def
stepSelectRequestedReferenceChildrenA
(
self
,
sequence
,
**
kw
):
def
stepSelectRequestedReferenceChildrenA
(
self
,
sequence
,
**
kw
):
sequence
.
edit
(
requested_reference
=
'children_a'
)
sequence
.
edit
(
requested_reference
=
'children_a'
)
sequence
.
edit
(
requested_software_type
=
'children_a'
)
sequence
.
edit
(
requested_software_type
=
'children_a'
)
...
@@ -1987,6 +2045,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -1987,6 +2045,11 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
sequence
.
edit
(
requested_computer_partition
=
self
\
sequence
.
edit
(
requested_computer_partition
=
self
\
.
_getComputerPartitionByReference
(
sequence
))
.
_getComputerPartitionByReference
(
sequence
))
def
stepSetRequestedComputerPartitionAsCurrentComputerPartition
(
self
,
sequence
):
sequence
.
edit
(
computer_partition_reference
=
\
sequence
[
"requested_computer_partition"
].
getReference
())
def
stepCheckComputerPartitionChildrenANoChild
(
self
,
sequence
,
**
kw
):
def
stepCheckComputerPartitionChildrenANoChild
(
self
,
sequence
,
**
kw
):
computer_partition
=
sequence
[
'children_a_computer_partition'
]
computer_partition
=
sequence
[
'children_a_computer_partition'
]
self
.
_checkComputerPartitionAndRelatedSoftwareInstance
(
computer_partition
)
self
.
_checkComputerPartitionAndRelatedSoftwareInstance
(
computer_partition
)
...
@@ -3634,7 +3697,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -3634,7 +3697,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def
stepSelectSlaveInstanceFromOneComputerPartition
(
self
,
sequence
):
def
stepSelectSlaveInstanceFromOneComputerPartition
(
self
,
sequence
):
slave_instance
=
self
.
_getSlaveInstanceFromCurrentComputerPartition
(
sequence
)
slave_instance
=
self
.
_getSlaveInstanceFromCurrentComputerPartition
(
sequence
)
sequence
.
edit
(
software_instance_uid
=
slave_instance
.
getUid
())
sequence
.
edit
(
software_instance_uid
=
slave_instance
.
getUid
(),
software_instance_reference
=
slave_instance
.
getReference
())
def
stepCheckEmptySlaveInstanceListFromOneComputerPartition
(
self
,
sequence
):
def
stepCheckEmptySlaveInstanceListFromOneComputerPartition
(
self
,
sequence
):
computer_guid
=
sequence
[
"computer_reference"
]
computer_guid
=
sequence
[
"computer_reference"
]
...
@@ -3787,7 +3851,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -3787,7 +3851,7 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
connection_dict
[
"site_url"
]
+=
"DeF45uef"
connection_dict
[
"site_url"
]
+=
"DeF45uef"
computer_partition
.
setConnectionDict
(
connection_dict
,
computer_partition
.
setConnectionDict
(
connection_dict
,
slave_reference
)
slave_reference
)
sequence
.
edit
(
slave_instance_site_url
=
site_url
)
sequence
.
edit
(
slave_instance_site_url
=
connection_dict
[
"site_url"
]
)
def
stepCheckConnectionXmlFromSlaveInstance
(
self
,
sequence
):
def
stepCheckConnectionXmlFromSlaveInstance
(
self
,
sequence
):
portal_catalog
=
self
.
portal
.
portal_catalog
portal_catalog
=
self
.
portal
.
portal_catalog
...
@@ -3887,6 +3951,9 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -3887,6 +3951,9 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckSuccessComputerPartitionGetIdCall
\
CheckSuccessComputerPartitionGetIdCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -3903,6 +3970,9 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -3903,6 +3970,9 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
sequence_string
=
'
\
sequence_string
=
'
\
SelectNewSoftwareReleaseUri
\
SelectNewSoftwareReleaseUri
\
CheckSuccessSoftwareReleaseGetURICall
\
CheckSuccessSoftwareReleaseGetURICall
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -3913,7 +3983,12 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -3913,7 +3983,12 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
def
test_ComputerPartition_started
(
self
):
def
test_ComputerPartition_started
(
self
):
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
\
sequence_string
=
self
\
.
prepare_started_computer_partition_sequence_string
.
prepare_started_computer_partition_sequence_string
+
"""
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -3929,6 +4004,9 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -3929,6 +4004,9 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckRaisesNotFoundComputerPartitionDestroyedCall
\
CheckRaisesNotFoundComputerPartitionDestroyedCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -3936,7 +4014,11 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -3936,7 +4014,11 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
def
test_ComputerPartition_destroyed_worksOnInstalled
(
self
):
def
test_ComputerPartition_destroyed_worksOnInstalled
(
self
):
"""Checks default destroy scenario on installed computer partition"""
"""Checks default destroy scenario on installed computer partition"""
sequence_list
=
SequenceList
()
sequence_list
=
SequenceList
()
sequence_string
=
self
.
prepare_destroyed_computer_partition
sequence_string
=
self
.
prepare_destroyed_computer_partition
+
"""
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -3959,6 +4041,9 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -3959,6 +4041,9 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
\
SlapLoginCurrentComputer
\
CheckRaisesNotFoundComputerPartitionDestroyedCall
\
CheckRaisesNotFoundComputerPartitionDestroyedCall
\
SlapLogout
\
SlapLogout
\
LoginERP5TypeTestCase
\
CheckSiteConsistency
\
Logout
\
'
'
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -4116,6 +4201,10 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4116,6 +4201,10 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
SelectCurrentlyUsedSalePackingListUid
SelectCurrentlyUsedSalePackingListUid
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
CheckComputerPartitionInstanceSetupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -4162,6 +4251,10 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4162,6 +4251,10 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
LoginWebUser
LoginWebUser
CheckPersonUpdatedCredential
CheckPersonUpdatedCredential
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibSlapWebServiceSlaveInstance.py
View file @
e22873bd
...
@@ -20,6 +20,9 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -20,6 +20,9 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckComputerPartitionSaleOrderAggregatedList
CheckComputerPartitionSaleOrderAggregatedList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -48,6 +51,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -48,6 +51,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckSlaveInstanceNotReady
CheckSlaveInstanceNotReady
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -75,6 +82,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -75,6 +82,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionSaleOrderAggregatedList
CheckComputerPartitionSaleOrderAggregatedList
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -106,6 +117,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -106,6 +117,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckEmptySlaveInstanceListFromOneComputerPartition
CheckEmptySlaveInstanceListFromOneComputerPartition
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -161,6 +176,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -161,6 +176,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SoftwareInstanceAvailable
SoftwareInstanceAvailable
Tic
Tic
CheckSlaveInstanceListFromOneComputerPartition
CheckSlaveInstanceListFromOneComputerPartition
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
...
@@ -182,6 +201,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -182,6 +201,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckSlaveInstanceNotReady
CheckSlaveInstanceNotReady
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -207,6 +230,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -207,6 +230,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckSlaveInstanceReady
CheckSlaveInstanceReady
CheckSlaveInstanceAllocationWithTwoDifferentSoftwareInstance
CheckSlaveInstanceAllocationWithTwoDifferentSoftwareInstance
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -247,6 +274,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -247,6 +274,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckSlaveInstanceAssociationWithSoftwareInstance
CheckSlaveInstanceAssociationWithSoftwareInstance
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -272,6 +303,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -272,6 +303,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckTwoSlaveInstanceRequest
CheckTwoSlaveInstanceRequest
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -306,6 +341,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -306,6 +341,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SetDeliveryLineAmountEqualTwo
SetDeliveryLineAmountEqualTwo
CheckComputerPartitionInstanceHostingSalePackingListStarted
CheckComputerPartitionInstanceHostingSalePackingListStarted
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -336,6 +375,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -336,6 +375,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SetDeliveryLineAmountEqualTwo
SetDeliveryLineAmountEqualTwo
CheckComputerPartitionInstanceHostingSalePackingListDelivered
CheckComputerPartitionInstanceHostingSalePackingListDelivered
CheckComputerPartitionInstanceSetupSalePackingListStopped
CheckComputerPartitionInstanceSetupSalePackingListStopped
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -426,6 +469,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -426,6 +469,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
Tic
Tic
CheckComputerPartitionInstanceHostingSalePackingListStarted
CheckComputerPartitionInstanceHostingSalePackingListStarted
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -448,6 +495,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -448,6 +495,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -481,6 +532,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -481,6 +532,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -514,6 +569,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -514,6 +569,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -549,6 +608,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -549,6 +608,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -601,6 +664,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -601,6 +664,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginDefaultUser
LoginDefaultUser
CheckComputerPartitionInstanceHostingSalePackingListStopped
CheckComputerPartitionInstanceHostingSalePackingListStopped
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -631,6 +698,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -631,6 +698,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
CheckComputerPartitionIsBusy
CheckComputerPartitionIsBusy
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -660,6 +731,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -660,6 +731,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
LoginTestVifibCustomer
LoginTestVifibCustomer
CheckSlaveInstanceSecurityWithDifferentCustomer
CheckSlaveInstanceSecurityWithDifferentCustomer
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -684,6 +759,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -684,6 +759,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
CheckSlaveInstanceListFromOneComputerPartition
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -714,6 +793,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -714,6 +793,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
CheckSaleOrderFromSlaveInstanceAccessUsingSoftwareInstanceUser
CheckSaleOrderFromSlaveInstanceAccessUsingSoftwareInstanceUser
CheckHostingSubscriptionFromSlaveInstanceAccessUsingSoftwareInstanceUser
CheckHostingSubscriptionFromSlaveInstanceAccessUsingSoftwareInstanceUser
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -737,6 +820,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -737,6 +820,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SetConnectionXmlToSlaveInstance
SetConnectionXmlToSlaveInstance
CheckConnectionXmlFromSlaveInstance
CheckConnectionXmlFromSlaveInstance
CheckConnectionXmlFromSoftwareInstance
CheckConnectionXmlFromSoftwareInstance
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -786,6 +873,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -786,6 +873,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SlapLoginCurrentComputer
SlapLoginCurrentComputer
CheckSuccessComputerGetComputerPartitionCall
CheckSuccessComputerGetComputerPartitionCall
SlapLogout
SlapLogout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -853,6 +944,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -853,6 +944,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
CheckComputerPartitionIsFree
CheckComputerPartitionIsFree
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionInstanceCleanupSalePackingListDelivered
CheckComputerPartitionInstanceSetupSalePackingListDelivered
CheckComputerPartitionInstanceSetupSalePackingListDelivered
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -952,6 +1047,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
...
@@ -952,6 +1047,10 @@ class TestVifibSlapWebServiceSlaveInstance(TestVifibSlapWebServiceMixin):
SetDeliveryLineAmountEqualTwo
SetDeliveryLineAmountEqualTwo
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
CheckComputerPartitionInstanceCleanupSalePackingListConfirmed
Logout
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
...
master/product/Vifib/tests/testVifibUsageReport.py
View file @
e22873bd
...
@@ -334,7 +334,12 @@ class TestVifibUsageReport(TestVifibUsageReportMixin):
...
@@ -334,7 +334,12 @@ class TestVifibUsageReport(TestVifibUsageReportMixin):
CheckSaleInvoiceExists
\
CheckSaleInvoiceExists
\
CheckSaleInvoiceQuantitySinglePartition
\
CheckSaleInvoiceQuantitySinglePartition
\
ClearModules
\
ClearModules
\
Logout"""
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
...
@@ -367,6 +372,11 @@ class TestVifibUsageReport(TestVifibUsageReportMixin):
...
@@ -367,6 +372,11 @@ class TestVifibUsageReport(TestVifibUsageReportMixin):
Tic
\
Tic
\
CheckSaleInvoiceExists
\
CheckSaleInvoiceExists
\
CheckSaleInvoiceQuantityTwoPartitions
\
CheckSaleInvoiceQuantityTwoPartitions
\
Logout"""
Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
slapos/slap/slap.py
View file @
e22873bd
...
@@ -172,9 +172,14 @@ class OpenOrder(SlapDocument):
...
@@ -172,9 +172,14 @@ class OpenOrder(SlapDocument):
else
:
else
:
xml
=
self
.
_connection_helper
.
response
.
read
()
xml
=
self
.
_connection_helper
.
response
.
read
()
software_instance
=
xml_marshaller
.
loads
(
xml
)
software_instance
=
xml_marshaller
.
loads
(
xml
)
return
ComputerPartition
(
computer_partition
=
ComputerPartition
(
software_instance
.
slap_computer_id
.
encode
(
'UTF-8'
),
software_instance
.
slap_computer_id
.
encode
(
'UTF-8'
),
software_instance
.
slap_computer_partition_id
.
encode
(
'UTF-8'
))
software_instance
.
slap_computer_partition_id
.
encode
(
'UTF-8'
))
if
shared
:
computer_partition
.
_synced
=
True
computer_partition
.
_connection_dict
=
software_instance
.
_connection_dict
computer_partition
.
_parameter_dict
=
software_instance
.
_parameter_dict
return
computer_partition
def
_syncComputerInformation
(
func
):
def
_syncComputerInformation
(
func
):
"""
"""
...
@@ -237,6 +242,8 @@ def _syncComputerPartitionInformation(func):
...
@@ -237,6 +242,8 @@ def _syncComputerPartitionInformation(func):
Synchronize computer partition object with server information
Synchronize computer partition object with server information
"""
"""
def
decorated
(
self
,
*
args
,
**
kw
):
def
decorated
(
self
,
*
args
,
**
kw
):
if
getattr
(
self
,
'_synced'
,
0
):
return
func
(
self
,
*
args
,
**
kw
)
computer
=
self
.
_connection_helper
.
getComputerInformation
(
self
.
_computer_id
)
computer
=
self
.
_connection_helper
.
getComputerInformation
(
self
.
_computer_id
)
found_computer_partition
=
None
found_computer_partition
=
None
for
computer_partition
in
computer
.
_computer_partition_list
:
for
computer_partition
in
computer
.
_computer_partition_list
:
...
@@ -334,9 +341,14 @@ class ComputerPartition(SlapDocument):
...
@@ -334,9 +341,14 @@ class ComputerPartition(SlapDocument):
else
:
else
:
xml
=
self
.
_connection_helper
.
response
.
read
()
xml
=
self
.
_connection_helper
.
response
.
read
()
software_instance
=
xml_marshaller
.
loads
(
xml
)
software_instance
=
xml_marshaller
.
loads
(
xml
)
return
ComputerPartition
(
computer_partition
=
ComputerPartition
(
software_instance
.
slap_computer_id
.
encode
(
'UTF-8'
),
software_instance
.
slap_computer_id
.
encode
(
'UTF-8'
),
software_instance
.
slap_computer_partition_id
.
encode
(
'UTF-8'
))
software_instance
.
slap_computer_partition_id
.
encode
(
'UTF-8'
))
if
shared
:
computer_partition
.
_synced
=
True
computer_partition
.
_connection_dict
=
software_instance
.
_connection_dict
computer_partition
.
_parameter_dict
=
software_instance
.
_parameter_dict
return
computer_partition
def
building
(
self
):
def
building
(
self
):
self
.
_connection_helper
.
POST
(
'/buildingComputerPartition'
,
{
self
.
_connection_helper
.
POST
(
'/buildingComputerPartition'
,
{
...
...
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