[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/tests - test_directives.py:1.3

Jim Fulton jim@zope.com
Mon, 28 Jul 2003 18:20:17 -0400


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

Modified Files:
	test_directives.py 
Log Message:
No longer use metameta.zcml.


=== Zope3/src/zope/app/workflow/tests/test_directives.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/workflow/tests/test_directives.py:1.2	Tue Jun  3 18:46:24 2003
+++ Zope3/src/zope/app/workflow/tests/test_directives.py	Mon Jul 28 18:20:13 2003
@@ -39,17 +39,18 @@
 
     def setUp(self):
         PlacelessSetup.setUp(self)
-        XMLConfig('metameta.zcml', zope.configuration)()
         XMLConfig('meta.zcml', zope.app.workflow)()
 
     def testImportHandler(self):
 
         xmlconfig(StringIO(template % (
             """
-            <test:importHandler
-             interface="zope.app.workflow.tests.directive_helpers.ITestProcessDefinitionA"
-             factory="zope.app.workflow.tests.directive_helpers.TestImportHandlerA"
-            />
+            <configure package="zope.app.workflow.tests.directive_helpers">
+              <test:importHandler
+                 interface=".ITestProcessDefinitionA"
+                 factory=".TestImportHandlerA"
+                 />
+            </configure>
             """
             )))
 
@@ -60,10 +61,12 @@
 
         xmlconfig(StringIO(template % (
             """
-            <test:exportHandler
-             interface="zope.app.workflow.tests.directive_helpers.ITestProcessDefinitionA"
-             factory="zope.app.workflow.tests.directive_helpers.TestExportHandlerA"
-            />
+            <configure package="zope.app.workflow.tests.directive_helpers">
+              <test:exportHandler
+                  interface=".ITestProcessDefinitionA"
+                  factory=".TestExportHandlerA"
+                  />
+            </configure>
             """
             )))