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

Steve Alexander steve@cat-box.net
Thu, 15 May 2003 11:04:22 -0400


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

Modified Files:
      Tag: stevea-decorators-branch
	test_contentdirective.py 
Log Message:
fixed some more tests.


=== Zope3/src/zope/app/component/tests/test_contentdirective.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/component/tests/test_contentdirective.py:1.1.2.1	Wed May 14 13:44:09 2003
+++ Zope3/src/zope/app/component/tests/test_contentdirective.py	Thu May 15 11:04:21 2003
@@ -133,9 +133,8 @@
         xmlconfig(f)
 
     def testDecorate(self):
-        from zope.app.component.decoratorservice import registerDecorator
-        # The second arg should be an IDecoratorSpec instance.
-        registerDecorator('zope.app.container.contextdecorator', 1)
+        # Decorator is already registered for
+        # zope.app.container.contextdecorator by PlacelessSetup.
         f = configfile("""
 <content class="zope.app.component.tests.exampleclass.ExampleClass">
     <decorate decorator="zope.app.container.contextdecorator" type="context"/>