[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/tests - test_directives.py:1.2

Jim Fulton jim at zope.com
Tue Sep 23 15:12:32 EDT 2003


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

Modified Files:
	test_directives.py 
Log Message:
Updated a test to make it runnable in a loop.

Cleared the namespace registry, which was modified by the
test.


=== Zope3/src/zope/app/traversing/tests/test_directives.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/traversing/tests/test_directives.py:1.1	Sat Aug  2 14:17:28 2003
+++ Zope3/src/zope/app/traversing/tests/test_directives.py	Tue Sep 23 15:12:32 2003
@@ -31,6 +31,7 @@
         self.context = xmlconfig.file("traversing.zcml",
                                       zope.app.traversing.tests)
         self.assertEqual(_namespace_handlers.get('test'), Handler)
+        _namespace_handlers.clear()
 
 
 def test_suite():




More information about the Zope3-Checkins mailing list