Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
a53155a4
Commit
a53155a4
authored
Jan 30, 2004
by
Brian Lloyd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed broken test for resetting security policy at runtime (not supported)
parent
ca323bcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
lib/python/Zope/Startup/tests/testStarter.py
lib/python/Zope/Startup/tests/testStarter.py
+0
-16
No files found.
lib/python/Zope/Startup/tests/testStarter.py
View file @
a53155a4
...
@@ -362,22 +362,6 @@ class ZopeStarterTestCase(unittest.TestCase):
...
@@ -362,22 +362,6 @@ class ZopeStarterTestCase(unittest.TestCase):
pass
pass
setConfiguration
(
old_config
)
setConfiguration
(
old_config
)
def
testInitializeSecurityOptions
(
self
):
from
AccessControl
import
Implementation
orig
=
Implementation
.
getImplementationName
()
conf
=
self
.
load_config_text
(
"""
instancehome <<INSTANCE_HOME>>
security-policy-implementation python
skip-authentication-checking yes
skip-ownership-checking yes
"""
)
self
.
assertEqual
(
conf
.
security_policy_implementation
,
"PYTHON"
)
starter
=
ZopeStarter
(
conf
)
try
:
starter
.
setupSecurityOptions
()
self
.
assertEqual
(
Implementation
.
getImplementationName
(),
"PYTHON"
)
finally
:
Implementation
.
setImplementation
(
orig
)
def
test_suite
():
def
test_suite
():
return
unittest
.
makeSuite
(
ZopeStarterTestCase
)
return
unittest
.
makeSuite
(
ZopeStarterTestCase
)
...
...
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