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
105
Merge Requests
105
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
5a5e62dd
Commit
5a5e62dd
authored
Dec 26, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pyflaked.
parent
8b144521
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
6 deletions
+3
-6
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
...duct/Vifib/tests/testVifibSlapComputerPartitionRequest.py
+1
-1
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
+1
-2
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+1
-2
master/product/Vifib/tests/testVifibUsageReport.py
master/product/Vifib/tests/testVifibUsageReport.py
+0
-1
No files found.
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
View file @
5a5e62dd
...
@@ -1226,7 +1226,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1226,7 +1226,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
filter_kw
=
sequence
.
get
(
'requested_filter_dict'
,
{}),
filter_kw
=
sequence
.
get
(
'requested_filter_dict'
,
{}),
state
=
sequence
.
get
(
'instance_state'
))
state
=
sequence
.
get
(
'instance_state'
))
requested_slap_computer_partition
=
slap_computer_partition
.
request
(
**
kw
)
slap_computer_partition
.
request
(
**
kw
)
def
stepCheckRequestComputerPartitionWithAnotherSoftwareType
(
def
stepCheckRequestComputerPartitionWithAnotherSoftwareType
(
self
,
sequence
,
**
kw
):
self
,
sequence
,
**
kw
):
...
...
master/product/Vifib/tests/testVifibSlapOpenOrderRequest.py
View file @
5a5e62dd
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
import
unittest
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
slapos
import
slap
from
slapos
import
slap
...
@@ -131,7 +130,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
...
@@ -131,7 +130,7 @@ class TestVifibSlapOpenOrderRequest(TestVifibSlapWebServiceMixin):
self
.
slap
=
slap
.
slap
()
self
.
slap
=
slap
.
slap
()
self
.
slap
.
initializeConnection
(
self
.
server_url
,
timeout
=
None
)
self
.
slap
.
initializeConnection
(
self
.
server_url
,
timeout
=
None
)
open_order
=
self
.
slap
.
registerOpenOrder
()
open_order
=
self
.
slap
.
registerOpenOrder
()
requested_slap_computer_partition
=
open_order
.
request
(
open_order
.
request
(
software_release
=
software_release
,
software_release
=
software_release
,
software_type
=
"SecondSoftwareType"
,
software_type
=
"SecondSoftwareType"
,
partition_reference
=
sequence
[
'requested_reference'
],
partition_reference
=
sequence
[
'requested_reference'
],
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
5a5e62dd
...
@@ -31,7 +31,6 @@ from DateTime import DateTime
...
@@ -31,7 +31,6 @@ from DateTime import DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
from
Products.ERP5Type.tests.backportUnittest
import
skip
from
Products.ERP5Type.tests.backportUnittest
import
skip
from
Products.ERP5Type.tests.SecurityTestCase
import
AssertNoPermissionMethod
,
\
from
Products.ERP5Type.tests.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
AssertPermissionMethod
...
@@ -4123,7 +4122,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
...
@@ -4123,7 +4122,7 @@ class TestVifibSlapWebService(TestVifibSlapWebServiceMixin):
def
stepPersonRequestCredentialUpdate
(
self
,
sequence
,
**
kw
):
def
stepPersonRequestCredentialUpdate
(
self
,
sequence
,
**
kw
):
sequence
[
'updated_last_name'
]
=
'Another'
sequence
[
'updated_last_name'
]
=
'Another'
result
=
self
.
portal
.
ERP5Site_newPersonCredentialUpdate
(
self
.
portal
.
ERP5Site_newPersonCredentialUpdate
(
first_name
=
'Homer'
,
first_name
=
'Homer'
,
last_name
=
sequence
[
'updated_last_name'
],
last_name
=
sequence
[
'updated_last_name'
],
reference
=
sequence
[
'web_user'
],
reference
=
sequence
[
'web_user'
],
...
...
master/product/Vifib/tests/testVifibUsageReport.py
View file @
5a5e62dd
...
@@ -28,7 +28,6 @@
...
@@ -28,7 +28,6 @@
#############################################################################
#############################################################################
import
unittest
import
unittest
from
DateTime
import
DateTime
from
lxml
import
etree
from
lxml
import
etree
from
slapos
import
slap
from
slapos
import
slap
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
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