rewrite cache module

This commit is contained in:
Mike Fährmann
2016-04-20 08:40:41 +02:00
parent 2b15b81673
commit b0c333b799
3 changed files with 157 additions and 63 deletions

View File

@@ -15,7 +15,6 @@ class TestExtractors(unittest.TestCase):
def setUp(self):
config.load()
config.set(("cache", "file"), ":memory:")
cache.init_database()
def run_test(self, extr, url, result):
hjob = jobs.HashJob(url, "content" in result)