Commit 24b37a18 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

fixup! testRestrictedPythonSecurity: target Zope4

parent f940b09b
...@@ -854,6 +854,7 @@ def test_suite(): ...@@ -854,6 +854,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:
...@@ -868,6 +869,7 @@ def test_suite(): ...@@ -868,6 +869,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