tests/app/soc/cache/test_base.py
changeset 1477 c724a6eda7ef
parent 1308 35b75ffcbb37
--- a/tests/app/soc/cache/test_base.py	Mon Feb 23 19:51:41 2009 +0000
+++ b/tests/app/soc/cache/test_base.py	Mon Feb 23 19:52:15 2009 +0000
@@ -47,10 +47,10 @@
     memcache.flush_all()
 
   def get(self):
-    return memcache.get('answer_to_life')
+    return memcache.get('answer_to_life'), 'answer_to_life'
 
-  def put(self, answer):
-    memcache.add('answer_to_life', 42)
+  def put(self, answer, memcache_key):
+    memcache.add(memcache_key, 42)
 
   def testMemcache(self):
     """Sanity check to see if memcache is working.