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
Thomas Gambier
slapos.core
Commits
e49618b9
Commit
e49618b9
authored
Jun 16, 2011
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit the skel of tests around Slave Instance
parent
d94b51c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+39
-0
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
e49618b9
...
...
@@ -90,6 +90,7 @@ class TestVifibSlapWebService(testVifibMixin):
sale_packing_list_portal_type
=
"Sale Packing List"
service_portal_type
=
"Service"
slave_partition_portal_type
=
"Slave Partition"
slave_instance_portal_type
=
"Slave Instance"
software_instance_portal_type
=
"Software Instance"
software_release_portal_type
=
"Software Release"
software_product_portal_type
=
"Software Product"
...
...
@@ -322,6 +323,12 @@ class TestVifibSlapWebService(testVifibMixin):
uid
=
sequence
[
'service_uid'
]).
getRelativeUrl
(),
sequence
)
def
stepPersonRequestSlaveInstance
(
self
,
sequence
,
**
kw
):
"""
Request one slave instance with one person as context
"""
raise
NotImplementedError
(
'Not Implemented yet'
)
def
stepPersonRequestSoftwareInstance
(
self
,
sequence
,
**
kw
):
person
=
self
.
portal
.
ERP5Site_getAuthenticatedMemberPersonValue
()
software_release
=
self
.
portal
.
portal_catalog
.
getResultValue
(
...
...
@@ -4185,6 +4192,38 @@ class TestVifibSlapWebService(testVifibMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
#########################################
# SlavePartition.request
#########################################
@
skip
(
"Not Implemented yet"
)
def
test_ComputerPartition_request_SlaveInstance
(
self
):
"""
Check that one Slave Instance is created correctly
"""
@
skip
(
"Not Implemented yet"
)
def
test_ComputerPartition_request_SlaveInstance_noSoftwareInstance
(
self
):
"""
Check that one Slave Instance is create correctly when no exists Software
Instance created
"""
@
skip
(
"Not Implemented yet"
)
def
test_ComputerPartition_request_SlaveInstance_twoSoftwareInstance
(
self
):
"""
"""
@
skip
(
"Not Implemented yet"
)
def
test_ComputerPartition_request_SlaveInstance_twice
(
self
):
"""
"""
@
skip
(
"Not Implemented yet"
)
def
test_ComputerPartition_getInstanceParameterDict_withSlaveInstance
(
self
):
"""
"""
########################################
# ComputerPartition.request - shared
########################################
...
...
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