[Zodb-checkins] CVS: Zope3/lib/python/Persistence/tests - testModule.py:1.25

Jeremy Hylton jeremy@zope.com
Wed, 2 Oct 2002 15:28:44 -0400


Update of /cvs-repository/Zope3/lib/python/Persistence/tests
In directory cvs.zope.org:/tmp/cvs-serv7328

Modified Files:
	testModule.py 
Log Message:
registry doesn't have an _dict anymore.


=== Zope3/lib/python/Persistence/tests/testModule.py 1.24 => 1.25 ===
--- Zope3/lib/python/Persistence/tests/testModule.py:1.24	Mon Sep 23 12:27:14 2002
+++ Zope3/lib/python/Persistence/tests/testModule.py	Wed Oct  2 15:28:43 2002
@@ -90,7 +90,7 @@
         mgr = PersistentModuleManager(self.registry)
         mgr.new("pmtest", open(self._pmtest).read())
         get_transaction().commit()
-        self.assert_("pmtest" in self.registry._dict)
+        self.assert_(self.registry.findModule("pmtest"))
         import pmtest
         pmtest._p_deactivate()
         self.assertEqual(pmtest.a, 1)