diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-02-19 15:34:38 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-02-19 15:34:38 +0000 |
commit | 700487a7c72c769537fb04c56d2e9c6dd29d7f84 (patch) | |
tree | f13b8706f7cdc4faa6e44e207fd57d3cfe30f97f /tests/storage/test__base.py | |
parent | Add Measures to presence (diff) | |
download | synapse-700487a7c72c769537fb04c56d2e9c6dd29d7f84.tar.xz |
Fix flake8 warnings for tests
Diffstat (limited to 'tests/storage/test__base.py')
-rw-r--r-- | tests/storage/test__base.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/storage/test__base.py b/tests/storage/test__base.py index 219288621d..96b7dba5fe 100644 --- a/tests/storage/test__base.py +++ b/tests/storage/test__base.py @@ -174,11 +174,13 @@ class CacheDecoratorTestCase(unittest.TestCase): # There must have been at least 2 evictions, meaning if we calculate # all 12 values again, we must get called at least 2 more times - for k in range(0,12): + for k in range(0, 12): yield a.func(k) - self.assertTrue(callcount[0] >= 14, - msg="Expected callcount >= 14, got %d" % (callcount[0])) + self.assertTrue( + callcount[0] >= 14, + msg="Expected callcount >= 14, got %d" % (callcount[0]) + ) def test_prefill(self): callcount = [0] |