Commit 9ce1c4e2 authored by Jérome Perrin's avatar Jérome Perrin

fixup! testRestrictedPythonSecurity: target Zope4

parent 2a643ec9
...@@ -821,6 +821,7 @@ def test_suite(): ...@@ -821,6 +821,7 @@ def test_suite():
# Also run original tests of RestrictedPython, to confirm that our patches did not break # Also run original tests of RestrictedPython, to confirm that our patches did not break
# original functionality # original functionality
# pylint:disable=no-name-in-module
try: try:
import RestrictedPython.tests import RestrictedPython.tests
except ImportError: except ImportError:
...@@ -835,6 +836,7 @@ def test_suite(): ...@@ -835,6 +836,7 @@ def test_suite():
add_tests(suite, RestrictedPython.tests.testREADME) add_tests(suite, RestrictedPython.tests.testREADME)
import RestrictedPython.tests.testRestrictions import RestrictedPython.tests.testRestrictions
add_tests(suite, RestrictedPython.tests.testRestrictions) add_tests(suite, RestrictedPython.tests.testRestrictions)
# pylint:enable=no-name-in-module
import AccessControl.tests.test_requestmethod import AccessControl.tests.test_requestmethod
add_tests(suite, AccessControl.tests.test_requestmethod) add_tests(suite, AccessControl.tests.test_requestmethod)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment