equal
deleted
inserted
replaced
45 |
45 |
46 def tearDown(self): |
46 def tearDown(self): |
47 memcache.flush_all() |
47 memcache.flush_all() |
48 |
48 |
49 def get(self): |
49 def get(self): |
50 return memcache.get('answer_to_life') |
50 return memcache.get('answer_to_life'), 'answer_to_life' |
51 |
51 |
52 def put(self, answer): |
52 def put(self, answer, memcache_key): |
53 memcache.add('answer_to_life', 42) |
53 memcache.add(memcache_key, 42) |
54 |
54 |
55 def testMemcache(self): |
55 def testMemcache(self): |
56 """Sanity check to see if memcache is working. |
56 """Sanity check to see if memcache is working. |
57 """ |
57 """ |
58 |
58 |