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
18
Merge Requests
18
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
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 \
from
Products.ERP5Type.tests.SecurityTestCase
import
SecurityTestCase
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
from
AccessControl
import
Unauthorized
import
transaction
READ
=
'Access contents information'
VIEW
=
'View'
...
...
@@ -188,9 +187,6 @@ class TestSlapOSCache(testSlapOSMixin, SecurityTestCase):
def
test_PDFPermission
(
self
):
self
.
_testDocumentPermission
(
self
.
portal
.
document_module
,
"PDF"
)
def
test_DrawingLocalRole
(
self
):
self
.
_testDocumentPermission
(
self
.
portal
.
document_module
,
"Drawing"
)
def
test_ImagePermission
(
self
):
self
.
_testDocumentPermission
(
self
.
portal
.
image_module
,
"Image"
)
...
...
@@ -230,13 +226,10 @@ class TestSlapOSCache(testSlapOSMixin, SecurityTestCase):
def
test_DocumentModulePermission
(
self
):
self
.
_testModulePermission
(
self
.
portal
.
document_module
)
def
test_DocumentModulePermission
(
self
):
self
.
_testModulePermission
(
self
.
portal
.
image_module
)
# Contribution Tool
@
expectedFailure
def
test_user_create_document_using_contribution_tool
(
self
):
"""
User must be able to create a document using contribution.
"""
raise
NotImplementedError
\ No newline at end of file
raise
NotImplementedError
master/bt5/slapos_cache/bt/revision
View file @
99c1a649
4
\ No newline at end of file
5
\ No newline at end of file
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCorePersonComputerSupply.py
View file @
99c1a649
...
...
@@ -2,7 +2,6 @@
from
Products.SlapOS.tests.testSlapOSMixin
import
\
testSlapOSMixin
import
transaction
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
from
Products.ERP5Type.Errors
import
UnsupportedWorkflowMethod
class
TestSlapOSCorePersonComputerSupply
(
testSlapOSMixin
):
...
...
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCorePersonRequest.py
View file @
99c1a649
...
...
@@ -143,7 +143,6 @@ class TestSlapOSCorePersonRequest(testSlapOSMixin):
"""
sla_xml
=
"test"
shared
=
True
state
=
"started"
# Only started, stopped, destroyed
self
.
assertRaises
(
ValueError
,
person
.
requestSoftwareInstance
,
...
...
master/bt5/slapos_cloud/bt/revision
View file @
99c1a649
147
\ No newline at end of file
148
\ No newline at end of file
master/bt5/slapos_rest_api/TestTemplateItem/testSlapOSRestAPIV1.py
View file @
99c1a649
...
...
@@ -1897,8 +1897,6 @@ class TestStatusGET(SlapOSRestAPIV1InstanceMixin):
def
test_no_data_in_memcached
(
self
):
self
.
computer
=
self
.
createComputer
()
reference
=
self
.
computer
.
getReference
()
value
=
json
.
dumps
({
'foo'
:
reference
})
self
.
connection
.
request
(
method
=
'GET'
,
url
=
'/'
.
join
([
self
.
api_path
,
'status'
,
self
.
computer
.
getRelativeUrl
()]),
...
...
master/bt5/slapos_rest_api/bt/revision
View file @
99c1a649
10
\ No newline at end of file
11
\ 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