Commit 1e26681d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

we no longer have SQLCache.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27503 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 05ea6f27
...@@ -167,7 +167,7 @@ class TestRamCache(unittest.TestCase): ...@@ -167,7 +167,7 @@ class TestRamCache(unittest.TestCase):
## check get() ## check get()
cache_entry = cache_plugin.get(cache_id, scope) cache_entry = cache_plugin.get(cache_id, scope)
if isinstance(value, Foo): if isinstance(value, Foo):
## when memcached or sql cached we have a new object created for user ## with memcached, we have a new object created for user
## just compare one field from it ## just compare one field from it
self.assertEqual(value.my_field, cache_entry.getValue().my_field) self.assertEqual(value.my_field, cache_entry.getValue().my_field)
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment