summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2017-05-23 20:15:28 -0400
committerTres Seaver <tseaver@palladion.com>2017-05-23 20:15:28 -0400
commitea7d6fccc5492b22e7b5bca7a45bd40f72b99de4 (patch)
treef0ddd9a2c8e5092c22e577736ce49eccf314c8f1
parent735e7ac4b5b46dcedeeca3296713241d42555a64 (diff)
downloadzope-security-mitchellrj-extended-setattr-behavior.tar.gz
Fixups to run new tests under zope-testrunner.mitchellrj-extended-setattr-behavior
-rw-r--r--src/zope/security/tests/test_proxy.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zope/security/tests/test_proxy.py b/src/zope/security/tests/test_proxy.py
index 0b9cecb..e8917e5 100644
--- a/src/zope/security/tests/test_proxy.py
+++ b/src/zope/security/tests/test_proxy.py
@@ -1881,7 +1881,7 @@ class ProxyTests(unittest.TestCase):
class Test_ValuesChecker(unittest.TestCase):
- def _callFUT(self, object, *args, **kw):
+ def _callFUT(self, obj, *args, **kw):
from zope.interface import implementer
from zope.security.checker import ProxyFactory
from zope.security.interfaces import IValueBasedChecker
@@ -1926,7 +1926,7 @@ class Test_ValuesChecker(unittest.TestCase):
return self.check(ob, name)
checker = ValuesChecker(*args, **kw)
- return ProxyFactory(object, checker)
+ return ProxyFactory(obj, checker)
def test_in_place_mutation(self):
from zope.security.interfaces import Unauthorized
@@ -2121,6 +2121,7 @@ def test_suite():
unittest.makeSuite(Test_isinstance),
# pre-geddon
unittest.makeSuite(ProxyTests),
+ unittest.makeSuite(Test_ValuesChecker),
unittest.makeSuite(LocationProxySecurityCheckerTests),
))
if not (PYPY or PURE_PYTHON):