fix (sub)category-transfer for DownloadJob instances (#41)

... and extend "parent" parameters to TestJob- and DataJob-classes
as well.
This commit is contained in:
Mike Fährmann
2017-10-06 15:38:35 +02:00
parent a1c8b21cfd
commit 0386503c80
3 changed files with 7 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ class TestExtractors(unittest.TestCase):
def _run_test(self, extr, url, result):
content = "content" in result if result else False
tjob = job.TestJob(url, content)
tjob = job.TestJob(url, content=content)
self.assertEqual(extr, tjob.extractor.__class__)
if not result:
return