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
Thomas Leymonerie
slapos.core
Commits
99c1a649
Commit
99c1a649
authored
Oct 30, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pyflaked.
parent
1a93df24
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
4 additions
and
15 deletions
+4
-15
master/bt5/slapos_cache/TestTemplateItem/testSlapOSCacheSecurity.py
.../slapos_cache/TestTemplateItem/testSlapOSCacheSecurity.py
+1
-8
master/bt5/slapos_cache/bt/revision
master/bt5/slapos_cache/bt/revision
+1
-1
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCorePersonComputerSupply.py
...ud/TestTemplateItem/testSlapOSCorePersonComputerSupply.py
+0
-1
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCorePersonRequest.py
...pos_cloud/TestTemplateItem/testSlapOSCorePersonRequest.py
+0
-1
master/bt5/slapos_cloud/bt/revision
master/bt5/slapos_cloud/bt/revision
+1
-1
master/bt5/slapos_rest_api/TestTemplateItem/testSlapOSRestAPIV1.py
...5/slapos_rest_api/TestTemplateItem/testSlapOSRestAPIV1.py
+0
-2
master/bt5/slapos_rest_api/bt/revision
master/bt5/slapos_rest_api/bt/revision
+1
-1
No files found.
master/bt5/slapos_cache/TestTemplateItem/testSlapOSCacheSecurity.py
View file @
99c1a649
...
@@ -4,7 +4,6 @@ from Products.SlapOS.tests.testSlapOSMixin import \
...
@@ -4,7 +4,6 @@ from Products.SlapOS.tests.testSlapOSMixin import \
from
Products.ERP5Type.tests.SecurityTestCase
import
SecurityTestCase
from
Products.ERP5Type.tests.SecurityTestCase
import
SecurityTestCase
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
from
AccessControl
import
Unauthorized
from
AccessControl
import
Unauthorized
import
transaction
READ
=
'Access contents information'
READ
=
'Access contents information'
VIEW
=
'View'
VIEW
=
'View'
...
@@ -188,9 +187,6 @@ class TestSlapOSCache(testSlapOSMixin, SecurityTestCase):
...
@@ -188,9 +187,6 @@ class TestSlapOSCache(testSlapOSMixin, SecurityTestCase):
def
test_PDFPermission
(
self
):
def
test_PDFPermission
(
self
):
self
.
_testDocumentPermission
(
self
.
portal
.
document_module
,
"PDF"
)
self
.
_testDocumentPermission
(
self
.
portal
.
document_module
,
"PDF"
)
def
test_DrawingLocalRole
(
self
):
self
.
_testDocumentPermission
(
self
.
portal
.
document_module
,
"Drawing"
)
def
test_ImagePermission
(
self
):
def
test_ImagePermission
(
self
):
self
.
_testDocumentPermission
(
self
.
portal
.
image_module
,
"Image"
)
self
.
_testDocumentPermission
(
self
.
portal
.
image_module
,
"Image"
)
...
@@ -230,13 +226,10 @@ class TestSlapOSCache(testSlapOSMixin, SecurityTestCase):
...
@@ -230,13 +226,10 @@ class TestSlapOSCache(testSlapOSMixin, SecurityTestCase):
def
test_DocumentModulePermission
(
self
):
def
test_DocumentModulePermission
(
self
):
self
.
_testModulePermission
(
self
.
portal
.
document_module
)
self
.
_testModulePermission
(
self
.
portal
.
document_module
)
def
test_DocumentModulePermission
(
self
):
self
.
_testModulePermission
(
self
.
portal
.
image_module
)
# Contribution Tool
# Contribution Tool
@
expectedFailure
@
expectedFailure
def
test_user_create_document_using_contribution_tool
(
self
):
def
test_user_create_document_using_contribution_tool
(
self
):
"""
"""
User must be able to create a document using contribution.
User must be able to create a document using contribution.
"""
"""
raise
NotImplementedError
raise
NotImplementedError
\ No newline at end of file
master/bt5/slapos_cache/bt/revision
View file @
99c1a649
4
5
\ No newline at end of file
\ No newline at end of file
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCorePersonComputerSupply.py
View file @
99c1a649
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
from
Products.SlapOS.tests.testSlapOSMixin
import
\
from
Products.SlapOS.tests.testSlapOSMixin
import
\
testSlapOSMixin
testSlapOSMixin
import
transaction
import
transaction
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
class
TestSlapOSCorePersonComputerSupply
(
testSlapOSMixin
):
class
TestSlapOSCorePersonComputerSupply
(
testSlapOSMixin
):
...
...
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCorePersonRequest.py
View file @
99c1a649
...
@@ -143,7 +143,6 @@ class TestSlapOSCorePersonRequest(testSlapOSMixin):
...
@@ -143,7 +143,6 @@ class TestSlapOSCorePersonRequest(testSlapOSMixin):
"""
"""
sla_xml
=
"test"
sla_xml
=
"test"
shared
=
True
shared
=
True
state
=
"started"
# Only started, stopped, destroyed
# Only started, stopped, destroyed
self
.
assertRaises
(
ValueError
,
person
.
requestSoftwareInstance
,
self
.
assertRaises
(
ValueError
,
person
.
requestSoftwareInstance
,
...
...
master/bt5/slapos_cloud/bt/revision
View file @
99c1a649
147
148
\ No newline at end of file
\ No newline at end of file
master/bt5/slapos_rest_api/TestTemplateItem/testSlapOSRestAPIV1.py
View file @
99c1a649
...
@@ -1897,8 +1897,6 @@ class TestStatusGET(SlapOSRestAPIV1InstanceMixin):
...
@@ -1897,8 +1897,6 @@ class TestStatusGET(SlapOSRestAPIV1InstanceMixin):
def
test_no_data_in_memcached
(
self
):
def
test_no_data_in_memcached
(
self
):
self
.
computer
=
self
.
createComputer
()
self
.
computer
=
self
.
createComputer
()
reference
=
self
.
computer
.
getReference
()
value
=
json
.
dumps
({
'foo'
:
reference
})
self
.
connection
.
request
(
method
=
'GET'
,
self
.
connection
.
request
(
method
=
'GET'
,
url
=
'/'
.
join
([
self
.
api_path
,
'status'
,
url
=
'/'
.
join
([
self
.
api_path
,
'status'
,
self
.
computer
.
getRelativeUrl
()]),
self
.
computer
.
getRelativeUrl
()]),
...
...
master/bt5/slapos_rest_api/bt/revision
View file @
99c1a649
10
11
\ No newline at end of file
\ 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