Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
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):
Tic
SlapLogout
SetRandomRequestedReference
SetRandomRequestedReference
AndTitle
SlapLoginTestVifibCustomer
PersonRequestSlapSoftwareInstancePrepare
Tic
...
...
@@ -1216,7 +1216,7 @@ class TestVifibSlapBug(TestVifibSlapWebServiceMixin):
Logout
LoginTestVifibCustomer
SetSequenceSoftwareInstance
Requested
StateDestroyed
SetSequenceSoftwareInstanceStateDestroyed
PersonRequestSoftwareInstance
Tic
Logout
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
a5a590dc
...
...
@@ -4267,6 +4267,10 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
def
stepSetRandomRequestedReference
(
self
,
sequence
,
**
kw
):
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
):
software_instance
=
self
.
portal
.
portal_catalog
.
getResultValue
(
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