Update test

This commit is contained in:
Erik Johnston 2017-07-04 10:21:25 +01:00
parent 7afb4e3f54
commit 29a4066a4d
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ class CacheDecoratorTestCase(unittest.TestCase):
callcount2 = [0] callcount2 = [0]
class A(object): class A(object):
@cached(max_entries=20) # HACK: This makes it 2 due to cache factor @cached(max_entries=4) # HACK: This makes it 2 due to cache factor
def func(self, key): def func(self, key):
callcount[0] += 1 callcount[0] += 1
return key return key