Update test

This commit is contained in:
Erik Johnston 2017-07-04 10:21:25 +01:00
parent 7afb4e3f54
commit 29a4066a4d

View File

@ -241,7 +241,7 @@ class CacheDecoratorTestCase(unittest.TestCase):
callcount2 = [0]
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):
callcount[0] += 1
return key