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
Roque
slapos.core
Commits
e3716233
Commit
e3716233
authored
Sep 27, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transitions have been renamed.
See
a9215903
parent
9996eddf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
master/product/Vifib/tests/testVifibSlapSupply.py
master/product/Vifib/tests/testVifibSlapSupply.py
+5
-4
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+2
-2
No files found.
master/product/Vifib/tests/testVifibSlapSupply.py
View file @
e3716233
...
...
@@ -33,8 +33,8 @@ class TestVifibSlapSupply(TestVifibSlapWebServiceMixin):
computer
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'computer_uid'
])
self
.
assertRaises
(
NotImplementedError
,
computer
.
requestSoftwareRelease
Installation
,
software_release_url
=
sequence
[
'software_release_uri'
])
computer
.
requestSoftwareRelease
,
software_release_url
=
sequence
[
'software_release_uri'
]
,
state
=
'available'
)
def
stepSupplyComputerSoftwareReleaseDestroyed
(
self
,
sequence
,
**
kw
):
self
.
slap
=
slap
.
slap
()
...
...
@@ -49,8 +49,9 @@ class TestVifibSlapSupply(TestVifibSlapWebServiceMixin):
computer
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'computer_uid'
])
self
.
assertRaises
(
NotImplementedError
,
computer
.
requestSoftwareReleaseCleanup
,
software_release_url
=
sequence
[
'software_release_uri'
])
computer
.
requestSoftwareRelease
,
software_release_url
=
sequence
[
'software_release_uri'
],
state
=
'destroyed'
)
def
test_Supply_supply
(
self
):
sequence_list
=
SequenceList
()
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
e3716233
...
...
@@ -763,8 +763,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
software_release
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'software_release_uid'
])
computer
.
requestSoftwareRelease
Installation
(
software_release_url
=
software_release
.
getUrlString
())
computer
.
requestSoftwareRelease
(
software_release_url
=
software_release
.
getUrlString
()
,
state
=
'available'
)
def
_createComputer
(
self
):
# Mimics WebSection_registerNewComputer
...
...
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