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

Sidnei da Silva sidnei at x3ng.com.br
Mon Aug 4 20:13:22 EDT 2003


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

Modified Files:
	test_contentdirective.py 
Log Message:
Actually use title and description in factories. Also some whitespace here and there

=== Zope3/src/zope/app/component/tests/test_contentdirective.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/component/tests/test_contentdirective.py:1.6	Sun Aug  3 13:50:15 2003
+++ Zope3/src/zope/app/component/tests/test_contentdirective.py	Mon Aug  4 19:12:48 2003
@@ -153,7 +153,9 @@
 </content>
                        """)
         xmlconfig(f)
-
+        factory = getService(None, Factories).getFactory('Example')
+        self.assertEquals(factory.title, "Example content")
+        self.assertEquals(factory.description, "Example description")
 
     def testFactoryUndefinedPermission(self):
 




More information about the Zope3-Checkins mailing list