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
Gabriel Monnerat
slapos.core
Commits
9153f4ae
Commit
9153f4ae
authored
Sep 28, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup imports.
It lowers pyflakes complaints and allows to have minimalist required test module.
parent
c86cf4e5
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
0 additions
and
268 deletions
+0
-268
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
...ib/tests/testVifibSlapComputerGetComputerPartitionList.py
+0
-15
master/product/Vifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
...ifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
+0
-15
master/product/Vifib/tests/testVifibSlapComputerPartitionAvailable.py
...ct/Vifib/tests/testVifibSlapComputerPartitionAvailable.py
+0
-17
master/product/Vifib/tests/testVifibSlapComputerPartitionBuilding.py
...uct/Vifib/tests/testVifibSlapComputerPartitionBuilding.py
+0
-17
master/product/Vifib/tests/testVifibSlapComputerPartitionConnection.py
...t/Vifib/tests/testVifibSlapComputerPartitionConnection.py
+0
-17
master/product/Vifib/tests/testVifibSlapComputerPartitionError.py
...roduct/Vifib/tests/testVifibSlapComputerPartitionError.py
+0
-17
master/product/Vifib/tests/testVifibSlapComputerPartitionGetInstanceParameterDict.py
...testVifibSlapComputerPartitionGetInstanceParameterDict.py
+0
-17
master/product/Vifib/tests/testVifibSlapComputerPartitionGetSoftwareRelease.py
...tests/testVifibSlapComputerPartitionGetSoftwareRelease.py
+0
-17
master/product/Vifib/tests/testVifibSlapComputerPartitionGetState.py
...uct/Vifib/tests/testVifibSlapComputerPartitionGetState.py
+0
-17
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
...duct/Vifib/tests/testVifibSlapComputerPartitionRequest.py
+0
-12
master/product/Vifib/tests/testVifibSlapRegisterComputer.py
master/product/Vifib/tests/testVifibSlapRegisterComputer.py
+0
-17
master/product/Vifib/tests/testVifibSlapRegisterComputerPartition.py
...uct/Vifib/tests/testVifibSlapRegisterComputerPartition.py
+0
-16
master/product/Vifib/tests/testVifibSlapRegisterSoftwareRelease.py
...oduct/Vifib/tests/testVifibSlapRegisterSoftwareRelease.py
+0
-17
master/product/Vifib/tests/testVifibSlapSoftwareReleaseAvailable.py
...duct/Vifib/tests/testVifibSlapSoftwareReleaseAvailable.py
+0
-17
master/product/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
...oduct/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
+0
-17
master/product/Vifib/tests/testVifibSlapSoftwareReleaseError.py
.../product/Vifib/tests/testVifibSlapSoftwareReleaseError.py
+0
-17
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+0
-3
master/product/Vifib/tests/testVifibUsageReport.py
master/product/Vifib/tests/testVifibUsageReport.py
+0
-3
No files found.
master/product/Vifib/tests/testVifibSlapComputerGetComputerPartitionList.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerGetSoftwareReleaseList.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionAvailable.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionBuilding.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionConnection.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionError.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionGetInstanceParameterDict.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionGetSoftwareRelease.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionGetState.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapRegisterComputer.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapRegisterComputerPartition.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapRegisterSoftwareRelease.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapSoftwareReleaseAvailable.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapSoftwareReleaseBuilding.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapSoftwareReleaseError.py
View file @
9153f4ae
from
DateTime
import
DateTime
from
AccessControl.SecurityManagement
import
newSecurityManager
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
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.SecurityTestCase
import
AssertNoPermissionMethod
,
\
AssertPermissionMethod
from
Products.ERP5Type
import
Permissions
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
...
...
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
9153f4ae
...
...
@@ -40,9 +40,6 @@ from Products.ZSQLCatalog.SQLCatalog import Query, ComplexQuery
from
VifibMixin
import
testVifibMixin
from
random
import
random
from
slapos
import
slap
import
urllib
import
urlparse
import
httplib
from
xml_marshaller
import
xml_marshaller
import
transaction
import
unittest
...
...
master/product/Vifib/tests/testVifibUsageReport.py
View file @
9153f4ae
...
...
@@ -27,15 +27,12 @@
#
#############################################################################
import
unittest
import
time
import
transaction
from
DateTime
import
DateTime
from
lxml
import
etree
from
slapos
import
slap
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Testing.ZopeTestCase.PortalTestCase
import
PortalTestCase
def
test_suite
():
suite
=
unittest
.
TestSuite
()
...
...
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