[Zope3-checkins] CVS: Zope3/src/zope/app/cache/tests - test_ramcache.py:1.10

Jim Fulton jim at zope.com
Sun Sep 21 13:31:18 EDT 2003


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

Modified Files:
	test_ramcache.py 
Log Message:
Object events no longer have location attributes.  Ratherm get the
path from the object attribute.


=== Zope3/src/zope/app/cache/tests/test_ramcache.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/cache/tests/test_ramcache.py:1.9	Tue Aug 19 13:34:12 2003
+++ Zope3/src/zope/app/cache/tests/test_ramcache.py	Sun Sep 21 13:31:18 2003
@@ -219,11 +219,11 @@
         self.assertEquals(c._getStorage().getEntry(location, key),
                           value, "doesn't ignore uninteresting events")
 
-        c.notify(ObjectEvent(ob, location))
+        c.notify(ObjectEvent(ob))
         self.assertEquals(c._getStorage().getEntry(location, key),
                           value, "doesn't ignore uninteresting events")
 
-        c.notify(ObjectModifiedEvent(ob, location))
+        c.notify(ObjectModifiedEvent(ob))
         self.assertRaises(KeyError, c._getStorage().getEntry, location, key)
 
 




More information about the Zope3-Checkins mailing list