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
Léo-Paul Géneau
slapos.core
Commits
f143249d
Commit
f143249d
authored
Feb 14, 2019
by
Rafael Monnerat
Committed by
Julien Muchembled
Mar 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Update to follow up xml-marshaller 1.0.1
parent
6f45e99e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
320 additions
and
320 deletions
+320
-320
master/bt5/slapos_slap_tool/TestTemplateItem/portal_components/test.erp5.testSlapOSSlapTool.py
...ateItem/portal_components/test.erp5.testSlapOSSlapTool.py
+320
-320
No files found.
master/bt5/slapos_slap_tool/TestTemplateItem/portal_components/test.erp5.testSlapOSSlapTool.py
View file @
f143249d
...
@@ -96,25 +96,25 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -96,25 +96,25 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<marshal>
<marshal>
<object id='i2' module='slapos.slap.slap' class='Computer'>
<object id='i2' module='slapos.slap.slap' class='Computer'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i3'>
<dictionary id='i3'>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_computer_partition_list</string>
<string>_computer_partition_list</string>
<list id='i4'>
<list id='i4'>
<object id='i5' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i5' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition4</unicode
>
<
string>partition4</string
>
</tuple>
</tuple>
<dictionary id='i6'>
<dictionary id='i6'>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>0</int>
<int>0</int>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition4</unicode
>
<
string>partition4</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -125,23 +125,23 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -125,23 +125,23 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
</object>
</object>
<object id='i7' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i7' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition3</unicode
>
<
string>partition3</string
>
</tuple>
</tuple>
<dictionary id='i8'>
<dictionary id='i8'>
<string>_access_status</string>
<string>_access_status</string>
<string>%(access_status)s</string>
<string>%(access_status)s</string>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_connection_dict</string>
<string>_connection_dict</string>
<dictionary id='i9'/>
<dictionary id='i9'/>
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i10'>
<dictionary id='i10'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(partition_3_sla)s</unicode
>
<
string>%(partition_3_sla)s</string
>
</dictionary>
</dictionary>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(partition_3_instance_guid)s</unicode
>
<
string>%(partition_3_instance_guid)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>1</int>
<int>1</int>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
...
@@ -149,35 +149,35 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -149,35 +149,35 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i12'/>
<list id='i12'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(partition_3_instance_title)s</unicode
>
<
string>%(partition_3_instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i13'>
<list id='i13'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>ip_address_3</unicode
>
<
string>ip_address_3</string
>
</tuple>
</tuple>
</list>
</list>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(partition_3_param)s</unicode
>
<
string>%(partition_3_param)s</string
>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(partition_3_root_instance_title)s</unicode
>
<
string>%(partition_3_root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>partition3</unicode
>
<
string>partition3</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(partition_3_software_release_url)s</unicode
>
<
string>%(partition_3_software_release_url)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(partition_3_instance_software_type)s</unicode
>
<
string>%(partition_3_instance_software_type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i14'/>
<list id='i14'/>
<string>timestamp</string>
<string>timestamp</string>
<string>%(partition_3_timestamp)s</string>
<string>%(partition_3_timestamp)s</string>
</dictionary>
</dictionary>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition3</unicode
>
<
string>partition3</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -185,39 +185,39 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -185,39 +185,39 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>_software_release_document</string>
<string>_software_release_document</string>
<object id='i15' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i15' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(partition_3_software_release_url)s</unicode
>
<
string>%(partition_3_software_release_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i16'>
<dictionary id='i16'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i17'/>
<list id='i17'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(partition_3_software_release_url)s</unicode
>
<
string>%(partition_3_software_release_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
</dictionary>
</dictionary>
</object>
</object>
<object id='i18' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i18' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition2</unicode
>
<
string>partition2</string
>
</tuple>
</tuple>
<dictionary id='i19'>
<dictionary id='i19'>
<string>_access_status</string>
<string>_access_status</string>
<string>%(access_status)s</string>
<string>%(access_status)s</string>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_connection_dict</string>
<string>_connection_dict</string>
<dictionary id='i20'/>
<dictionary id='i20'/>
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i21'>
<dictionary id='i21'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(partition_2_sla)s</unicode
>
<
string>%(partition_2_sla)s</string
>
</dictionary>
</dictionary>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(partition_2_instance_guid)s</unicode
>
<
string>%(partition_2_instance_guid)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>1</int>
<int>1</int>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
...
@@ -225,35 +225,35 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -225,35 +225,35 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i23'/>
<list id='i23'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(partition_2_instance_title)s</unicode
>
<
string>%(partition_2_instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i24'>
<list id='i24'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>ip_address_2</unicode
>
<
string>ip_address_2</string
>
</tuple>
</tuple>
</list>
</list>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(partition_2_param)s</unicode
>
<
string>%(partition_2_param)s</string
>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(partition_2_root_instance_title)s</unicode
>
<
string>%(partition_2_root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>partition2</unicode
>
<
string>partition2</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(partition_2_software_release_url)s</unicode
>
<
string>%(partition_2_software_release_url)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(partition_2_instance_software_type)s</unicode
>
<
string>%(partition_2_instance_software_type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i25'/>
<list id='i25'/>
<string>timestamp</string>
<string>timestamp</string>
<string>%(partition_2_timestamp)s</string>
<string>%(partition_2_timestamp)s</string>
</dictionary>
</dictionary>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition2</unicode
>
<
string>partition2</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -261,39 +261,39 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -261,39 +261,39 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>_software_release_document</string>
<string>_software_release_document</string>
<object id='i26' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i26' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(partition_2_software_release_url)s</unicode
>
<
string>%(partition_2_software_release_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i27'>
<dictionary id='i27'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i28'/>
<list id='i28'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(partition_2_software_release_url)s</unicode
>
<
string>%(partition_2_software_release_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
</dictionary>
</dictionary>
</object>
</object>
<object id='i29' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i29' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
</tuple>
</tuple>
<dictionary id='i30'>
<dictionary id='i30'>
<string>_access_status</string>
<string>_access_status</string>
<string>%(access_status)s</string>
<string>%(access_status)s</string>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_connection_dict</string>
<string>_connection_dict</string>
<dictionary id='i31'/>
<dictionary id='i31'/>
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i32'>
<dictionary id='i32'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(partition_1_sla)s</unicode
>
<
string>%(partition_1_sla)s</string
>
</dictionary>
</dictionary>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(partition_1_instance_guid)s</unicode
>
<
string>%(partition_1_instance_guid)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>1</int>
<int>1</int>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
...
@@ -301,39 +301,39 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -301,39 +301,39 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i34'/>
<list id='i34'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(partition_1_instance_title)s</unicode
>
<
string>%(partition_1_instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i35'>
<list id='i35'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>ip_address_1</unicode
>
<
string>ip_address_1</string
>
</tuple>
</tuple>
</list>
</list>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(partition_1_param)s</unicode
>
<
string>%(partition_1_param)s</string
>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(partition_1_root_instance_title)s</unicode
>
<
string>%(partition_1_root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(partition_1_software_release_url)s</unicode
>
<
string>%(partition_1_software_release_url)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(partition_1_instance_software_type)s</unicode
>
<
string>%(partition_1_instance_software_type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i36'>
<list id='i36'>
<dictionary id='i37'>
<dictionary id='i37'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(slave_1_param)s</unicode
>
<
string>%(slave_1_param)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(slave_1_software_type)s</unicode
>
<
string>%(slave_1_software_type)s</string
>
<string>slave_reference</string>
<string>slave_reference</string>
<
unicode>%(slave_1_instance_guid)s</unicode
>
<
string>%(slave_1_instance_guid)s</string
>
<string>slave_title</string>
<string>slave_title</string>
<
unicode>%(slave_1_title)s</unicode
>
<
string>%(slave_1_title)s</string
>
<string>timestamp</string>
<string>timestamp</string>
<int>%(partition_1_timestamp)s</int>
<int>%(partition_1_timestamp)s</int>
</dictionary>
</dictionary>
...
@@ -342,7 +342,7 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -342,7 +342,7 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>%(partition_1_timestamp)s</string>
<string>%(partition_1_timestamp)s</string>
</dictionary>
</dictionary>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -350,16 +350,16 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -350,16 +350,16 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>_software_release_document</string>
<string>_software_release_document</string>
<object id='i38' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i38' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(partition_1_software_release_url)s</unicode
>
<
string>%(partition_1_software_release_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i39'>
<dictionary id='i39'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i40'/>
<list id='i40'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(partition_1_software_release_url)s</unicode
>
<
string>%(partition_1_software_release_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
</dictionary>
</dictionary>
...
@@ -369,34 +369,34 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -369,34 +369,34 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<list id='i41'>
<list id='i41'>
<object id='i42' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i42' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(destroy_requested_url)s</unicode
>
<
string>%(destroy_requested_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i43'>
<dictionary id='i43'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_requested_state</string>
<string>_requested_state</string>
<string>destroyed</string>
<string>destroyed</string>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i44'/>
<list id='i44'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(destroy_requested_url)s</unicode
>
<
string>%(destroy_requested_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
<object id='i45' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i45' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(start_requested_url)s</unicode
>
<
string>%(start_requested_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i46'>
<dictionary id='i46'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_requested_state</string>
<string>_requested_state</string>
<string>available</string>
<string>available</string>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i47'/>
<list id='i47'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(start_requested_url)s</unicode
>
<
string>%(start_requested_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
</list>
</list>
...
@@ -471,9 +471,9 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -471,9 +471,9 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>created_at</string>
<string>created_at</string>
<string>%(created_at)s</string>
<string>%(created_at)s</string>
<string>text</string>
<string>text</string>
<
unicode>#error no data found for %(computer_id)s</unicode
>
<
string>#error no data found for %(computer_id)s</string
>
<string>user</string>
<string>user</string>
<
unicode>SlapOS Master</unicode
>
<
string>SlapOS Master</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -510,12 +510,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -510,12 +510,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#access %(computer_id)s</unicode
>
<
string>#access %(computer_id)s</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -557,12 +557,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -557,12 +557,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#error bang</unicode
>
<
string>#error bang</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -641,9 +641,9 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -641,9 +641,9 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<string>created_at</string>
<string>created_at</string>
<string>%(created_at)s</string>
<string>%(created_at)s</string>
<string>text</string>
<string>text</string>
<
unicode>#error no data found for %(reference)s</unicode
>
<
string>#error no data found for %(reference)s</string
>
<string>user</string>
<string>user</string>
<
unicode>SlapOS Master</unicode
>
<
string>SlapOS Master</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -700,12 +700,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -700,12 +700,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#access software release %(url_string)s available</unicode
>
<
string>#access software release %(url_string)s available</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -739,12 +739,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -739,12 +739,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>building software release %(url_string)s</unicode
>
<
string>building software release %(url_string)s</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -778,12 +778,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
...
@@ -778,12 +778,12 @@ class TestSlapOSSlapToolComputerAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#error while installing %(url_string)s</unicode
>
<
string>#error while installing %(url_string)s</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -961,32 +961,32 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -961,32 +961,32 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<marshal>
<marshal>
<object id='i2' module='slapos.slap.slap' class='Computer'>
<object id='i2' module='slapos.slap.slap' class='Computer'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i3'>
<dictionary id='i3'>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_computer_partition_list</string>
<string>_computer_partition_list</string>
<list id='i4'>
<list id='i4'>
<object id='i5' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i5' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
</tuple>
</tuple>
<dictionary id='i6'>
<dictionary id='i6'>
<string>_access_status</string>
<string>_access_status</string>
<string>%(access_status)s</string>
<string>%(access_status)s</string>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_connection_dict</string>
<string>_connection_dict</string>
<dictionary id='i7'/>
<dictionary id='i7'/>
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i8'>
<dictionary id='i8'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(sla)s</unicode
>
<
string>%(sla)s</string
>
</dictionary>
</dictionary>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>1</int>
<int>1</int>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
...
@@ -994,39 +994,39 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -994,39 +994,39 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i10'/>
<list id='i10'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(instance_title)s</unicode
>
<
string>%(instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i11'>
<list id='i11'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>ip_address_1</unicode
>
<
string>ip_address_1</string
>
</tuple>
</tuple>
</list>
</list>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(param)s</unicode
>
<
string>%(param)s</string
>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(root_instance_title)s</unicode
>
<
string>%(root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(software_type)s</unicode
>
<
string>%(software_type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i12'>
<list id='i12'>
<dictionary id='i13'>
<dictionary id='i13'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(slave_1_param)s</unicode
>
<
string>%(slave_1_param)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(slave_1_software_type)s</unicode
>
<
string>%(slave_1_software_type)s</string
>
<string>slave_reference</string>
<string>slave_reference</string>
<
unicode>%(slave_1_instance_guid)s</unicode
>
<
string>%(slave_1_instance_guid)s</string
>
<string>slave_title</string>
<string>slave_title</string>
<
unicode>%(slave_1_title)s</unicode
>
<
string>%(slave_1_title)s</string
>
<string>timestamp</string>
<string>timestamp</string>
<int>%(timestamp)s</int>
<int>%(timestamp)s</int>
</dictionary>
</dictionary>
...
@@ -1035,7 +1035,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1035,7 +1035,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>%(timestamp)s</string>
<string>%(timestamp)s</string>
</dictionary>
</dictionary>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -1043,16 +1043,16 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1043,16 +1043,16 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>_software_release_document</string>
<string>_software_release_document</string>
<object id='i14' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i14' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i15'>
<dictionary id='i15'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i16'/>
<list id='i16'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
</dictionary>
</dictionary>
...
@@ -1112,9 +1112,9 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1112,9 +1112,9 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>created_at</string>
<string>created_at</string>
<string>%(created_at)s</string>
<string>%(created_at)s</string>
<string>text</string>
<string>text</string>
<
unicode>#error no data found for %(instance_guid)s</unicode
>
<
string>#error no data found for %(instance_guid)s</string
>
<string>user</string>
<string>user</string>
<
unicode>SlapOS Master</unicode
>
<
string>SlapOS Master</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -1155,9 +1155,9 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1155,9 +1155,9 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>created_at</string>
<string>created_at</string>
<string>%(created_at)s</string>
<string>%(created_at)s</string>
<string>text</string>
<string>text</string>
<
unicode>#error no data found for %(instance_guid)s</unicode
>
<
string>#error no data found for %(instance_guid)s</string
>
<string>user</string>
<string>user</string>
<
unicode>SlapOS Master</unicode
>
<
string>SlapOS Master</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -1195,21 +1195,21 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1195,21 +1195,21 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<marshal>
<marshal>
<object id='i2' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i2' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
</tuple>
</tuple>
<dictionary id='i3'>
<dictionary id='i3'>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_connection_dict</string>
<string>_connection_dict</string>
<dictionary id='i4'/>
<dictionary id='i4'/>
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i5'>
<dictionary id='i5'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(sla)s</unicode
>
<
string>%(sla)s</string
>
</dictionary>
</dictionary>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>1</int>
<int>1</int>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
...
@@ -1217,41 +1217,41 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1217,41 +1217,41 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i7'/>
<list id='i7'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(instance_title)s</unicode
>
<
string>%(instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i8'>
<list id='i8'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>ip_address_1</unicode
>
<
string>ip_address_1</string
>
</tuple>
</tuple>
</list>
</list>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(param)s</unicode
>
<
string>%(param)s</string
>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(root_instance_title)s</unicode
>
<
string>%(root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(software_type)s</unicode
>
<
string>%(software_type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i9'>
<list id='i9'>
<dictionary id='i10'>
<dictionary id='i10'>
<string>connection-parameter-hash</string>
<string>connection-parameter-hash</string>
<string>44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a</string>
<string>44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a</string>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(slave_1_param)s</unicode
>
<
string>%(slave_1_param)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(slave_1_software_type)s</unicode
>
<
string>%(slave_1_software_type)s</string
>
<string>slave_reference</string>
<string>slave_reference</string>
<
unicode>%(slave_1_instance_guid)s</unicode
>
<
string>%(slave_1_instance_guid)s</string
>
<string>slave_title</string>
<string>slave_title</string>
<
unicode>%(slave_1_title)s</unicode
>
<
string>%(slave_1_title)s</string
>
<string>timestamp</string>
<string>timestamp</string>
<int>%(timestamp)s</int>
<int>%(timestamp)s</int>
</dictionary>
</dictionary>
...
@@ -1260,7 +1260,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1260,7 +1260,7 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>%(timestamp)s</string>
<string>%(timestamp)s</string>
</dictionary>
</dictionary>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -1268,16 +1268,16 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1268,16 +1268,16 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>_software_release_document</string>
<string>_software_release_document</string>
<object id='i11' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i11' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i12'>
<dictionary id='i12'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i13'/>
<list id='i13'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
<string>_synced</string>
<string>_synced</string>
...
@@ -1329,21 +1329,21 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1329,21 +1329,21 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<marshal>
<marshal>
<object id='i2' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i2' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
</tuple>
</tuple>
<dictionary id='i3'>
<dictionary id='i3'>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_connection_dict</string>
<string>_connection_dict</string>
<dictionary id='i4'/>
<dictionary id='i4'/>
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i5'>
<dictionary id='i5'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(sla)s</unicode
>
<
string>%(sla)s</string
>
</dictionary>
</dictionary>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>1</int>
<int>1</int>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
...
@@ -1351,35 +1351,35 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1351,35 +1351,35 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i7'/>
<list id='i7'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(instance_title)s</unicode
>
<
string>%(instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i8'>
<list id='i8'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>ip_address_1</unicode
>
<
string>ip_address_1</string
>
</tuple>
</tuple>
</list>
</list>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(param)s</unicode
>
<
string>%(param)s</string
>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(root_instance_title)s</unicode
>
<
string>%(root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(software_type)s</unicode
>
<
string>%(software_type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i9'/>
<list id='i9'/>
<string>timestamp</string>
<string>timestamp</string>
<string>%(timestamp)s</string>
<string>%(timestamp)s</string>
</dictionary>
</dictionary>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -1387,16 +1387,16 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1387,16 +1387,16 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<string>_software_release_document</string>
<string>_software_release_document</string>
<object id='i10' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i10' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i11'>
<dictionary id='i11'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i12'/>
<list id='i12'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
<string>_synced</string>
<string>_synced</string>
...
@@ -1433,10 +1433,10 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1433,10 +1433,10 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
slave_reference
=
self
.
start_requested_slave_instance
.
getReference
()
slave_reference
=
self
.
start_requested_slave_instance
.
getReference
()
connection_xml
=
"""<marshal>
connection_xml
=
"""<marshal>
<dictionary id="i2">
<dictionary id="i2">
<
unicode>p1é</unicode
>
<
string>p1é</string
>
<
unicode>v1é</unicode
>
<
string>v1é</string
>
<
unicode>p2é</unicode
>
<
string>p2é</string
>
<
unicode>v2é</unicode
>
<
string>v2é</string
>
</dictionary>
</dictionary>
</marshal>"""
</marshal>"""
stored_xml
=
"""<?xml version='1.0' encoding='utf-8'?>
stored_xml
=
"""<?xml version='1.0' encoding='utf-8'?>
...
@@ -1466,10 +1466,10 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1466,10 +1466,10 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
portal_type
=
'Computer Partition'
).
getReference
()
portal_type
=
'Computer Partition'
).
getReference
()
connection_xml
=
"""<marshal>
connection_xml
=
"""<marshal>
<dictionary id="i2">
<dictionary id="i2">
<
unicode>p1é</unicode
>
<
string>p1é</string
>
<
unicode>v1é</unicode
>
<
string>v1é</string
>
<
unicode>p2é</unicode
>
<
string>p2é</string
>
<
unicode>v2é</unicode
>
<
string>v2é</string
>
</dictionary>
</dictionary>
</marshal>"""
</marshal>"""
stored_xml
=
"""<?xml version='1.0' encoding='utf-8'?>
stored_xml
=
"""<?xml version='1.0' encoding='utf-8'?>
...
@@ -1516,12 +1516,12 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1516,12 +1516,12 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#error while instanciating: The error</unicode
>
<
string>#error while instanciating: The error</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -1566,12 +1566,12 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1566,12 +1566,12 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#error bang called</unicode
>
<
string>#error bang called</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -1841,12 +1841,12 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1841,12 +1841,12 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#access Instance correctly stopped</unicode
>
<
string>#access Instance correctly stopped</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -1878,12 +1878,12 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
...
@@ -1878,12 +1878,12 @@ class TestSlapOSSlapToolInstanceAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#access Instance correctly started</unicode
>
<
string>#access Instance correctly started</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -2118,9 +2118,9 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2118,9 +2118,9 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>created_at</string>
<string>created_at</string>
<string>%(created_at)s</string>
<string>%(created_at)s</string>
<string>text</string>
<string>text</string>
<
unicode>#error no data found for %(computer_id)s</unicode
>
<
string>#error no data found for %(computer_id)s</string
>
<string>user</string>
<string>user</string>
<
unicode>SlapOS Master</unicode
>
<
string>SlapOS Master</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -2157,12 +2157,12 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2157,12 +2157,12 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#access %(computer_id)s</unicode
>
<
string>#access %(computer_id)s</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -2203,12 +2203,12 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2203,12 +2203,12 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#error bang</unicode
>
<
string>#error bang</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(person_reference)s</unicode
>
<
string>%(person_reference)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -2253,9 +2253,9 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2253,9 +2253,9 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>created_at</string>
<string>created_at</string>
<string>%(created_at)s</string>
<string>%(created_at)s</string>
<string>text</string>
<string>text</string>
<
unicode>#error no data found for %(instance_guid)s</unicode
>
<
string>#error no data found for %(instance_guid)s</string
>
<string>user</string>
<string>user</string>
<
unicode>SlapOS Master</unicode
>
<
string>SlapOS Master</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -2298,9 +2298,9 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2298,9 +2298,9 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>created_at</string>
<string>created_at</string>
<string>%(created_at)s</string>
<string>%(created_at)s</string>
<string>text</string>
<string>text</string>
<
unicode>#error no data found for %(instance_guid)s</unicode
>
<
string>#error no data found for %(instance_guid)s</string
>
<string>user</string>
<string>user</string>
<
unicode>SlapOS Master</unicode
>
<
string>SlapOS Master</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -2338,21 +2338,21 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2338,21 +2338,21 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<marshal>
<marshal>
<object id='i2' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i2' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
</tuple>
</tuple>
<dictionary id='i3'>
<dictionary id='i3'>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_connection_dict</string>
<string>_connection_dict</string>
<dictionary id='i4'/>
<dictionary id='i4'/>
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i5'>
<dictionary id='i5'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(sla)s</unicode
>
<
string>%(sla)s</string
>
</dictionary>
</dictionary>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>1</int>
<int>1</int>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
...
@@ -2360,41 +2360,41 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2360,41 +2360,41 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i7'/>
<list id='i7'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(instance_title)s</unicode
>
<
string>%(instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i8'>
<list id='i8'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>ip_address_1</unicode
>
<
string>ip_address_1</string
>
</tuple>
</tuple>
</list>
</list>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(param)s</unicode
>
<
string>%(param)s</string
>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(root_instance_title)s</unicode
>
<
string>%(root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(software_type)s</unicode
>
<
string>%(software_type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i9'>
<list id='i9'>
<dictionary id='i10'>
<dictionary id='i10'>
<string>connection-parameter-hash</string>
<string>connection-parameter-hash</string>
<string>44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a</string>
<string>44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a</string>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(slave_1_param)s</unicode
>
<
string>%(slave_1_param)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(slave_1_software_type)s</unicode
>
<
string>%(slave_1_software_type)s</string
>
<string>slave_reference</string>
<string>slave_reference</string>
<
unicode>%(slave_1_instance_guid)s</unicode
>
<
string>%(slave_1_instance_guid)s</string
>
<string>slave_title</string>
<string>slave_title</string>
<
unicode>%(slave_1_title)s</unicode
>
<
string>%(slave_1_title)s</string
>
<string>timestamp</string>
<string>timestamp</string>
<int>%(timestamp)s</int>
<int>%(timestamp)s</int>
</dictionary>
</dictionary>
...
@@ -2403,7 +2403,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2403,7 +2403,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>%(timestamp)s</string>
<string>%(timestamp)s</string>
</dictionary>
</dictionary>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -2411,16 +2411,16 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2411,16 +2411,16 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>_software_release_document</string>
<string>_software_release_document</string>
<object id='i11' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i11' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i12'>
<dictionary id='i12'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i13'/>
<list id='i13'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
<string>_synced</string>
<string>_synced</string>
...
@@ -2472,21 +2472,21 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2472,21 +2472,21 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<marshal>
<marshal>
<object id='i2' module='slapos.slap.slap' class='ComputerPartition'>
<object id='i2' module='slapos.slap.slap' class='ComputerPartition'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
</tuple>
</tuple>
<dictionary id='i3'>
<dictionary id='i3'>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_connection_dict</string>
<string>_connection_dict</string>
<dictionary id='i4'/>
<dictionary id='i4'/>
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i5'>
<dictionary id='i5'>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(sla)s</unicode
>
<
string>%(sla)s</string
>
</dictionary>
</dictionary>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
<string>_need_modification</string>
<string>_need_modification</string>
<int>1</int>
<int>1</int>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
...
@@ -2494,35 +2494,35 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2494,35 +2494,35 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i7'/>
<list id='i7'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(instance_title)s</unicode
>
<
string>%(instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i8'>
<list id='i8'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>ip_address_1</unicode
>
<
string>ip_address_1</string
>
</tuple>
</tuple>
</list>
</list>
<
unicode>paramé</unicode
>
<
string>paramé</string
>
<
unicode>%(param)s</unicode
>
<
string>%(param)s</string
>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(root_instance_title)s</unicode
>
<
string>%(root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(software_type)s</unicode
>
<
string>%(software_type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i9'/>
<list id='i9'/>
<string>timestamp</string>
<string>timestamp</string>
<string>%(timestamp)s</string>
<string>%(timestamp)s</string>
</dictionary>
</dictionary>
<string>_partition_id</string>
<string>_partition_id</string>
<
unicode>partition1</unicode
>
<
string>partition1</string
>
<string>_request_dict</string>
<string>_request_dict</string>
<none/>
<none/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -2530,16 +2530,16 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2530,16 +2530,16 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>_software_release_document</string>
<string>_software_release_document</string>
<object id='i10' module='slapos.slap.slap' class='SoftwareRelease'>
<object id='i10' module='slapos.slap.slap' class='SoftwareRelease'>
<tuple>
<tuple>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i11'>
<dictionary id='i11'>
<string>_computer_guid</string>
<string>_computer_guid</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>_software_instance_list</string>
<string>_software_instance_list</string>
<list id='i12'/>
<list id='i12'/>
<string>_software_release</string>
<string>_software_release</string>
<
unicode>%(software_release_url)s</unicode
>
<
string>%(software_release_url)s</string
>
</dictionary>
</dictionary>
</object>
</object>
<string>_synced</string>
<string>_synced</string>
...
@@ -2596,12 +2596,12 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2596,12 +2596,12 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<?xml version='1.0' encoding='UTF-8'?>
<?xml version='1.0' encoding='UTF-8'?>
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<
unicode>created_at</unicode
>
<
string>created_at</string
>
<
unicode>%(created_at)s</unicode
>
<
string>%(created_at)s</string
>
<
unicode>text</unicode
>
<
string>text</string
>
<
unicode>#error bang called</unicode
>
<
string>#error bang called</string
>
<
unicode>user</unicode
>
<
string>user</string
>
<
unicode>%(person_reference)s</unicode
>
<
string>%(person_reference)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
dict
(
"""
%
dict
(
...
@@ -2747,7 +2747,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2747,7 +2747,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>_filter_dict</string>
<string>_filter_dict</string>
<dictionary id='i5'/>
<dictionary id='i5'/>
<string>_instance_guid</string>
<string>_instance_guid</string>
<
unicode>%(instance_guid)s</unicode
>
<
string>%(instance_guid)s</string
>
<string>_parameter_dict</string>
<string>_parameter_dict</string>
<dictionary id='i6'/>
<dictionary id='i6'/>
<string>_requested_state</string>
<string>_requested_state</string>
...
@@ -2755,26 +2755,26 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2755,26 +2755,26 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<string>full_ip_list</string>
<string>full_ip_list</string>
<list id='i7'/>
<list id='i7'/>
<string>instance_title</string>
<string>instance_title</string>
<
unicode>%(instance_title)s</unicode
>
<
string>%(instance_title)s</string
>
<string>ip_list</string>
<string>ip_list</string>
<list id='i8'>
<list id='i8'>
<tuple>
<tuple>
<
unicode
/>
<
string
/>
<
unicode>%(ip)s</unicode
>
<
string>%(ip)s</string
>
</tuple>
</tuple>
</list>
</list>
<string>root_instance_short_title</string>
<string>root_instance_short_title</string>
<
unicode
/>
<
string
/>
<string>root_instance_title</string>
<string>root_instance_title</string>
<
unicode>%(root_instance_title)s</unicode
>
<
string>%(root_instance_title)s</string
>
<string>slap_computer_id</string>
<string>slap_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
<string>slap_computer_partition_id</string>
<string>slap_computer_partition_id</string>
<
unicode>%(partition_id)s</unicode
>
<
string>%(partition_id)s</string
>
<string>slap_software_release_url</string>
<string>slap_software_release_url</string>
<
unicode>%(url_string)s</unicode
>
<
string>%(url_string)s</string
>
<string>slap_software_type</string>
<string>slap_software_type</string>
<
unicode>%(type)s</unicode
>
<
string>%(type)s</string
>
<string>slave_instance_list</string>
<string>slave_instance_list</string>
<list id='i9'/>
<list id='i9'/>
<string>timestamp</string>
<string>timestamp</string>
...
@@ -2859,11 +2859,11 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2859,11 +2859,11 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<marshal>
<marshal>
<object id='i2' module='slapos.slap.slap' class='Computer'>
<object id='i2' module='slapos.slap.slap' class='Computer'>
<tuple>
<tuple>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</tuple>
</tuple>
<dictionary id='i3'>
<dictionary id='i3'>
<string>_computer_id</string>
<string>_computer_id</string>
<
unicode>%(computer_id)s</unicode
>
<
string>%(computer_id)s</string
>
</dictionary>
</dictionary>
</object>
</object>
</marshal>
</marshal>
...
@@ -2909,9 +2909,9 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
...
@@ -2909,9 +2909,9 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
<marshal>
<marshal>
<dictionary id='i2'>
<dictionary id='i2'>
<string>certificate</string>
<string>certificate</string>
<
unicode>%(computer_certificate)s</unicode
>
<
string>%(computer_certificate)s</string
>
<string>key</string>
<string>key</string>
<
unicode>%(computer_key)s</unicode
>
<
string>%(computer_key)s</string
>
</dictionary>
</dictionary>
</marshal>
</marshal>
"""
%
{
'computer_key'
:
computer_key
,
'computer_certificate'
:
computer_certificate
}
"""
%
{
'computer_key'
:
computer_key
,
'computer_certificate'
:
computer_certificate
}
...
...
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