summary refs log tree commit diff
path: root/tests/storage/test__base.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-03-31 10:10:56 +0100
committerGitHub <noreply@github.com>2017-03-31 10:10:56 +0100
commit9cee0ce7dbbf34edc8542b4b02e36ab978da2715 (patch)
tree9832e523b67b8bb43e0bd7bbe2f3ceac233e3e1c /tests/storage/test__base.py
parentMerge pull request #2076 from matrix-org/erikj/as_perf (diff)
parentRemove unused instance variable (diff)
downloadsynapse-9cee0ce7dbbf34edc8542b4b02e36ab978da2715.tar.xz
Merge pull request #2075 from matrix-org/erikj/cache_speed
Speed up cached function access
Diffstat (limited to 'tests/storage/test__base.py')
-rw-r--r--tests/storage/test__base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/storage/test__base.py b/tests/storage/test__base.py
index 8361dd8cee..281eb16254 100644
--- a/tests/storage/test__base.py
+++ b/tests/storage/test__base.py
@@ -199,7 +199,7 @@ class CacheDecoratorTestCase(unittest.TestCase):
 
         a.func.prefill(("foo",), ObservableDeferred(d))
 
-        self.assertEquals(a.func("foo").result, d.result)
+        self.assertEquals(a.func("foo"), d.result)
         self.assertEquals(callcount[0], 0)
 
     @defer.inlineCallbacks