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

@@ -30,4 +30,4 @@ for urls, extr in tests:
name = "%s-%s-%d.json" % (extr.category, extr.subcategory, i)
print(name)
with open(os.path.join(path, name), "w") as outfile:
job.DataJob(url, outfile).run()
job.DataJob(url, file=outfile).run()