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

Jim Fulton jim at zope.com
Mon Sep 15 14:12:59 EDT 2003


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

Modified Files:
      Tag: parentgeddon-branch
	test_ramcache.py 
Log Message:
Got lots of tests to pass.

Added a setitem helper function to be used to help satisfy container
contracts.



=== Zope3/src/zope/app/cache/tests/test_ramcache.py 1.9 => 1.9.6.1 ===
--- 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	Mon Sep 15 14:12:28 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