diff --git a/test/basetest/task.py b/test/basetest/task.py index d2f93855c..0929814e8 100644 --- a/test/basetest/task.py +++ b/test/basetest/task.py @@ -58,6 +58,10 @@ class Task(object): txt = super(Task, self).__repr__() return "{0} running from {1}>".format(txt[:-1], self.datadir) + def __call__(self, *args, **kwargs): + "Alias to runSuccess" + return self.runSuccess(*args, **kwargs) + def bind_taskd_server(self, taskd): """Configure the present task client to talk to given taskd server