... 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:defmktask(__taskopts,__method,*args,**opts):plugins/hub/runroot_hub.py:#XXX - have to import kojihub for mktaskplugins/hub/runroot_hub.py:fromkojihubimportmktask,get_tag,get_all_archesplugins/hub/runroot_hub.py:returnmktask(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.