initialize cache-module before running tests

This commit is contained in:
Mike Fährmann
2016-03-08 18:01:35 +01:00
parent c9b7db5af5
commit 871f4c8a48
2 changed files with 7 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ def main():
for url in args.urls:
job = jobs.HashJob(url, content=args.content)
job.run()
print(job.extractor.__class__.__name__)
print(TESTDATA_FMT.format(url, job.hash_url.hexdigest(),
job.hash_keyword.hexdigest(), job.hash_content.hexdigest()))