[Zope-Checkins] CVS: Zope/lib/python/AccessControl/tests -
testOwned.py:1.3
Tres Seaver
tseaver at zope.com
Fri Mar 12 13:12:12 EST 2004
Update of /cvs-repository/Zope/lib/python/AccessControl/tests
In directory cvs.zope.org:/tmp/cvs-serv26851/lib/python/AccessControl/tests
Modified Files:
testOwned.py
Log Message:
- Forward port fix for Collector #1255.
=== Zope/lib/python/AccessControl/tests/testOwned.py 1.2 => 1.3 ===
--- Zope/lib/python/AccessControl/tests/testOwned.py:1.2 Tue Jan 27 11:59:23 2004
+++ Zope/lib/python/AccessControl/tests/testOwned.py Fri Mar 12 13:12:11 2004
@@ -118,6 +118,15 @@
self.assertEqual(wrapped_owner, None)
+ def test_getWrappedOwner_unownable(self):
+ from AccessControl.Owned import UnownableOwner
+ owned = self._makeOne()
+ owned._owner = UnownableOwner
+
+ wrapped_owner = owned.getWrappedOwner()
+
+ self.assertEqual(wrapped_owner, None)
+
def test_getWrappedOwner_simple(self):
root = FauxRoot()
More information about the Zope-Checkins
mailing list