[Zope3-checkins] CVS: Zope3/src/zope/app/component/tests - test_contentdirective.py:1.9.6.1

Jim Fulton jim at zope.com
Mon Sep 15 14:13:00 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/component/tests
In directory cvs.zope.org:/tmp/cvs-serv15511/src/zope/app/component/tests

Modified Files:
      Tag: parentgeddon-branch
	test_contentdirective.py 
Log Message:
Got lots of tests to pass.

Added a setitem helper function to be used to help satisfy container
contracts.



=== Zope3/src/zope/app/component/tests/test_contentdirective.py 1.9 => 1.9.6.1 ===
--- Zope3/src/zope/app/component/tests/test_contentdirective.py:1.9	Sun Aug 17 02:06:17 2003
+++ Zope3/src/zope/app/component/tests/test_contentdirective.py	Mon Sep 15 14:12:29 2003
@@ -211,7 +211,7 @@
             """)
         xmlconfig(f)
         factory = getService(None, Factories).getFactory('Example')
-        self.failUnless(type(factory) is Proxy)
+        self.assert_(hasattr(factory, '__Security_checker__'))
 
 
 def test_suite():




More information about the Zope3-Checkins mailing list