diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-02-19 15:55:02 +0000 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-02-19 15:55:02 +0000 |
commit | b82d6f70a49faaf551e7709ddfd7a7607ade3e42 (patch) | |
tree | f13b8706f7cdc4faa6e44e207fd57d3cfe30f97f /tests/storage/test__base.py | |
parent | Add Measures to presence (diff) | |
parent | Fix flake8 warnings for tests (diff) | |
download | synapse-b82d6f70a49faaf551e7709ddfd7a7607ade3e42.tar.xz |
Merge pull request #590 from matrix-org/markjh/formatting
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] |