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
Hardik Juneja
slapos.core
Commits
435601a6
Commit
435601a6
authored
Oct 24, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pep8ized.
parent
4dced9de
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
56 deletions
+56
-56
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCoreSoftwareInstanceRequest.py
...TestTemplateItem/testSlapOSCoreSoftwareInstanceRequest.py
+55
-55
master/bt5/slapos_cloud/bt/revision
master/bt5/slapos_cloud/bt/revision
+1
-1
No files found.
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCoreSoftwareInstanceRequest.py
View file @
435601a6
...
...
@@ -4,6 +4,7 @@ from Products.SlapOS.tests.testSlapOSMixin import \
import
transaction
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
class
TestSlapOSCoreSoftwareInstanceRequest
(
testSlapOSMixin
):
def
generateNewId
(
self
):
...
...
@@ -42,7 +43,6 @@ class TestSlapOSCoreSoftwareInstanceRequest(testSlapOSMixin):
self
.
software_instance
=
portal
.
software_instance_module
\
.
template_software_instance
.
Base_createCloneDocument
(
batch_mode
=
1
)
hosting_subscription
.
edit
(
title
=
self
.
request_kw
[
'software_title'
],
reference
=
"TESTHS-%s"
%
new_id
,
...
...
@@ -305,7 +305,7 @@ class TestSlapOSCoreSoftwareInstanceRequest(testSlapOSMixin):
duplicate2
.
validate
()
self
.
portal
.
portal_workflow
.
_jumpToStateFor
(
duplicate2
,
'start_requested'
)
self
.
software_instance
.
getSpecialiseValue
(
\
self
.
software_instance
.
getSpecialiseValue
(
portal_type
=
'Hosting Subscription'
).
edit
(
predecessor_list
=
[
duplicate
.
getRelativeUrl
(),
...
...
@@ -356,7 +356,8 @@ class TestSlapOSCoreSoftwareInstanceRequest(testSlapOSMixin):
self
.
assertSameSet
(
self
.
software_instance
.
getPredecessorList
(),
[
requested_instance
.
getRelativeUrl
(),
requested_instance2
.
getRelativeUrl
()])
[
requested_instance
.
getRelativeUrl
(),
requested_instance2
.
getRelativeUrl
()])
def
test_request_tree_change_indexed
(
self
):
"""Checks tree change forced by request
...
...
@@ -521,7 +522,6 @@ class TestSlapOSCoreSoftwareInstanceRequest(testSlapOSMixin):
self
.
assertEqual
(
request_kw
[
'software_type'
],
requested_instance2
.
getSourceReference
())
self
.
tic
()
request_kw
[
'state'
]
=
'destroyed'
...
...
master/bt5/slapos_cloud/bt/revision
View file @
435601a6
73
\ No newline at end of file
74
\ No newline at end of file
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