... and remove mktask in favor of make_task (and fix all references).
These were all the references to mktask I could find:
hub/kojihub.py:def mktask(__taskopts,__method,*args,**opts):
plugins/hub/runroot_hub.py:#XXX - have to import kojihub for mktask
plugins/hub/runroot_hub.py:from kojihub import mktask, get_tag, get_all_arches
plugins/hub/runroot_hub.py: return mktask(taskopts,'runroot', tagInfo, arch, command, **opts)
I wrote the test first to verify that make_task was being called as I expected. I then remove mktask, replaced references, and verified that the test case still passed.
... and remove mktask in favor of make_task (and fix all references).
These were all the references to mktask I could find:
I wrote the test first to verify that make_task was being called as I expected. I then remove mktask, replaced references, and verified that the test case still passed.