diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-11 17:59:32 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-11 18:00:59 +0100 |
commit | 2df8dd9b37f26e3ad0d3647a1e78804a85d48c0c (patch) | |
tree | 3c9849e4645fae998f01b7ba89303793d209ff14 /tests/util | |
parent | Comments (diff) | |
download | synapse-2df8dd9b37f26e3ad0d3647a1e78804a85d48c0c.tar.xz |
Move all the caches into their own package, synapse.util.caches
Diffstat (limited to '')
-rw-r--r-- | tests/util/test_dict_cache.py | 2 | ||||
-rw-r--r-- | tests/util/test_lrucache.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/util/test_dict_cache.py b/tests/util/test_dict_cache.py index 79bc1225d6..54ff26cd97 100644 --- a/tests/util/test_dict_cache.py +++ b/tests/util/test_dict_cache.py @@ -17,7 +17,7 @@ from twisted.internet import defer from tests import unittest -from synapse.util.dictionary_cache import DictionaryCache +from synapse.util.caches.dictionary_cache import DictionaryCache class DictCacheTestCase(unittest.TestCase): diff --git a/tests/util/test_lrucache.py b/tests/util/test_lrucache.py index ab934bf928..fc5a904323 100644 --- a/tests/util/test_lrucache.py +++ b/tests/util/test_lrucache.py @@ -16,7 +16,7 @@ from .. import unittest -from synapse.util.lrucache import LruCache +from synapse.util.caches.lrucache import LruCache class LruCacheTestCase(unittest.TestCase): @@ -52,5 +52,3 @@ class LruCacheTestCase(unittest.TestCase): cache["key"] = 1 self.assertEquals(cache.pop("key"), 1) self.assertEquals(cache.pop("key"), None) - - |