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
a5a590dc
Commit
a5a590dc
authored
Jun 11, 2012
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep the instance title consistent for all calls
parent
28a62308
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
master/product/Vifib/tests/testVifibSlapBug.py
master/product/Vifib/tests/testVifibSlapBug.py
+2
-2
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+4
-0
No files found.
master/product/Vifib/tests/testVifibSlapBug.py
View file @
a5a590dc
...
@@ -1194,7 +1194,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1194,7 +1194,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Tic
Tic
SlapLogout
SlapLogout
SetRandomRequestedReference
SetRandomRequestedReference
AndTitle
SlapLoginTestVifibCustomer
SlapLoginTestVifibCustomer
PersonRequestSlapSoftwareInstancePrepare
PersonRequestSlapSoftwareInstancePrepare
Tic
Tic
...
@@ -1216,7 +1216,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
...
@@ -1216,7 +1216,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
Logout
LoginTestVifibCustomer
LoginTestVifibCustomer
SetSequenceSoftwareInstance
Requested
StateDestroyed
SetSequenceSoftwareInstanceStateDestroyed
PersonRequestSoftwareInstance
PersonRequestSoftwareInstance
Tic
Tic
Logout
Logout
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
a5a590dc
...
@@ -4267,6 +4267,10 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
...
@@ -4267,6 +4267,10 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def
stepSetRandomRequestedReference
(
self
,
sequence
,
**
kw
):
def
stepSetRandomRequestedReference
(
self
,
sequence
,
**
kw
):
sequence
[
'requested_reference'
]
=
self
.
id
()
+
str
(
random
())
sequence
[
'requested_reference'
]
=
self
.
id
()
+
str
(
random
())
def
stepSetRandomRequestedReferenceAndTitle
(
self
,
sequence
,
**
kw
):
sequence
[
'requested_reference'
]
=
self
.
id
()
+
str
(
random
())
sequence
[
'software_title'
]
=
sequence
[
'requested_reference'
]
def
stepRenameCurrentSoftwareInstanceDead
(
self
,
sequence
,
**
kw
):
def
stepRenameCurrentSoftwareInstanceDead
(
self
,
sequence
,
**
kw
):
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'software_instance_uid'
]
uid
=
sequence
[
'software_instance_uid'
]
...
...
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