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
Labels
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
2bccf884
Commit
2bccf884
authored
Mar 19, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup irrelevant pyflakes complaints.
parent
4fa6da70
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
11 deletions
+1
-11
master/product/Vifib/tests/VifibSecurityMixin.py
master/product/Vifib/tests/VifibSecurityMixin.py
+0
-1
master/product/Vifib/tests/testVifibDefaultUseCase.py
master/product/Vifib/tests/testVifibDefaultUseCase.py
+0
-5
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
+1
-1
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
...oduct/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
+0
-1
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+0
-3
No files found.
master/product/Vifib/tests/VifibSecurityMixin.py
View file @
2bccf884
...
...
@@ -26,7 +26,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
##############################################################################
from
Testing.ZopeTestCase.PortalTestCase
import
PortalTestCase
from
Products.ERP5Type.tests.SecurityTestCase
import
SecurityTestCase
from
AccessControl
import
getSecurityManager
from
VifibMixin
import
testVifibMixin
...
...
master/product/Vifib/tests/testVifibDefaultUseCase.py
View file @
2bccf884
from
Products.ERP5Type.tests.Sequence
import
SequenceList
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
random
import
random
from
slapos
import
slap
from
zExceptions
import
Unauthorized
from
DateTime
import
DateTime
class
TestVifibDefaultUseCase
(
TestVifibSlapWebServiceMixin
):
...
...
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
View file @
2bccf884
import
unittest
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.DateUtils
import
getClosestDate
,
addToDate
,
getNumberOfDayInMonth
from
Products.ERP5Type.DateUtils
import
getClosestDate
,
addToDate
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
DateTime.DateTime
import
DateTime
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionUpdate.py
View file @
2bccf884
...
...
@@ -3,7 +3,6 @@ import unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
random
import
random
from
slapos
import
slap
class
TestVifibSlapComputerPartitionUpdate
(
TestVifibSlapWebServiceMixin
):
def
stepRequestSoftwareInstanceUpdate
(
self
,
sequence
,
**
kw
):
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
2bccf884
...
...
@@ -4041,9 +4041,6 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
sequence
[
'requested_reference'
]
=
self
.
id
()
+
str
(
random
())
def
stepRenameCurrentSoftwareInstanceDead
(
self
,
sequence
,
**
kw
):
hosting_subscription
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
'hosting_subscription_uid'
],
)
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